From 1c5f89b1dd741135a4007ab577723d422f421eec Mon Sep 17 00:00:00 2001 From: Anton Korobeynikov Date: Tue, 19 Apr 2011 17:52:09 +0000 Subject: 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 --- lib/floatdidf.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'lib/floatdidf.c') 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 @@ -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 -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) -- cgit v1.2.3