summaryrefslogtreecommitdiff
path: root/lib/builtins/negsf2.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/builtins/negsf2.c')
-rw-r--r--lib/builtins/negsf2.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/builtins/negsf2.c b/lib/builtins/negsf2.c
index 29c17be41..f90b34335 100644
--- a/lib/builtins/negsf2.c
+++ b/lib/builtins/negsf2.c
@@ -14,9 +14,14 @@
#define SINGLE_PRECISION
#include "fp_lib.h"
-ARM_EABI_FNALIAS(fneg, negsf2)
-
COMPILER_RT_ABI fp_t
__negsf2(fp_t a) {
return fromRep(toRep(a) ^ signBit);
}
+
+#if defined(__ARM_EABI__)
+AEABI_RTABI fp_t __aeabi_fneg(fp_t a) {
+ return __negsf2(a);
+}
+#endif
+