aboutsummaryrefslogtreecommitdiff
path: root/include/arm_features.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/arm_features.h')
-rw-r--r--include/arm_features.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/arm_features.h b/include/arm_features.h
index abfd876..fdec522 100644
--- a/include/arm_features.h
+++ b/include/arm_features.h
@@ -34,6 +34,8 @@
.type name, %function; \
name
+#define EXTRA_UNSAVED_REGS
+
#else
#define ESYM(name) _##name
@@ -42,6 +44,9 @@
name: \
ESYM(name)
+// r7 is preserved, but add it for EABI alignment..
+#define EXTRA_UNSAVED_REGS r7, r9,
+
#endif
#endif /* __ARM_FEATURES_H__ */