summaryrefslogtreecommitdiff
path: root/src/arm/sysv.S
diff options
context:
space:
mode:
Diffstat (limited to 'src/arm/sysv.S')
-rw-r--r--src/arm/sysv.S6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/arm/sysv.S b/src/arm/sysv.S
index 9064318..dc5fe36 100644
--- a/src/arm/sysv.S
+++ b/src/arm/sysv.S
@@ -34,6 +34,12 @@
#define CONCAT1(a, b) CONCAT2(a, b)
#define CONCAT2(a, b) a ## b
+/* Use the SOFTFP return value ABI on Mac OS X, as per the iOS ABI
+ Function Call Guide */
+#ifdef __APPLE__
+#define __SOFTFP__
+#endif
+
/* Use the right prefix for global labels. */
#define CNAME(x) CONCAT1 (__USER_LABEL_PREFIX__, x)
#else