diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2011-04-19 17:52:09 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2011-04-19 17:52:09 +0000 |
commit | 1c5f89b1dd741135a4007ab577723d422f421eec (patch) | |
tree | cc4bc911bef51c2a78946ec54aac48020bebf9de /lib/floatdidf.c | |
parent | 37b97d1cf4501b94347e0b4e880f4b25825a289f (diff) |
Move abi bits to separate header. Force AAPCS for EABI in accordance with ARM RTABI.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@129769 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/floatdidf.c')
-rw-r--r-- | lib/floatdidf.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/floatdidf.c b/lib/floatdidf.c index 1633f7384..5ba952635 100644 --- a/lib/floatdidf.c +++ b/lib/floatdidf.c @@ -11,6 +11,7 @@ * *===----------------------------------------------------------------------=== */ +#include "abi.h" #include "int_lib.h" #include <float.h> @@ -23,8 +24,6 @@ /* seee eeee eeee mmmm mmmm mmmm mmmm mmmm | mmmm mmmm mmmm mmmm mmmm mmmm mmmm mmmm */ -#include "int_lib.h" - ARM_EABI_FNALIAS(l2d, floatdidf); #ifndef __SOFT_FP__ @@ -33,7 +32,7 @@ ARM_EABI_FNALIAS(l2d, floatdidf); */ #include <stdint.h> -double +COMPILER_RT_ABI double __floatdidf(di_int a) { static const double twop52 = 0x1.0p52; @@ -53,7 +52,7 @@ __floatdidf(di_int a) * set, and we don't want to code-gen to an unknown soft-float implementation. */ -double +COMPILER_RT_ABI double __floatdidf(di_int a) { if (a == 0) |