diff options
Diffstat (limited to 'lib/negsf2.c')
-rw-r--r-- | lib/negsf2.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/negsf2.c b/lib/negsf2.c index d211f7c..98f9fc0 100644 --- a/lib/negsf2.c +++ b/lib/negsf2.c @@ -10,10 +10,14 @@ // This file implements single-precision soft-float negation. // //===----------------------------------------------------------------------===// +#include "abi.h" #define SINGLE_PRECISION #include "fp_lib.h" -fp_t __negsf2(fp_t a) { +ARM_EABI_FNALIAS(fneg, negsf2); + +COMPILER_RT_ABI fp_t +__negsf2(fp_t a) { return fromRep(toRep(a) ^ signBit); } |