aboutsummaryrefslogtreecommitdiffstats
path: root/lib/builtins/subdf3.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/builtins/subdf3.c')
-rw-r--r--lib/builtins/subdf3.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/builtins/subdf3.c b/lib/builtins/subdf3.c
index 7a79e5e7765d..38340dfab1a6 100644
--- a/lib/builtins/subdf3.c
+++ b/lib/builtins/subdf3.c
@@ -15,11 +15,15 @@
#define DOUBLE_PRECISION
#include "fp_lib.h"
-ARM_EABI_FNALIAS(dsub, subdf3)
-
// Subtraction; flip the sign bit of b and add.
COMPILER_RT_ABI fp_t
__subdf3(fp_t a, fp_t b) {
return __adddf3(a, fromRep(toRep(b) ^ signBit));
}
+#if defined(__ARM_EABI__)
+AEABI_RTABI fp_t __aeabi_dsub(fp_t a, fp_t b) {
+ return __subdf3(a, b);
+}
+#endif
+