summaryrefslogtreecommitdiff
path: root/lib/floatundidf.c
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2011-04-19 17:52:09 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2011-04-19 17:52:09 +0000
commit1c5f89b1dd741135a4007ab577723d422f421eec (patch)
treecc4bc911bef51c2a78946ec54aac48020bebf9de /lib/floatundidf.c
parent37b97d1cf4501b94347e0b4e880f4b25825a289f (diff)
downloadcompiler-rt-1c5f89b1dd741135a4007ab577723d422f421eec.tar.gz
compiler-rt-1c5f89b1dd741135a4007ab577723d422f421eec.tar.bz2
compiler-rt-1c5f89b1dd741135a4007ab577723d422f421eec.tar.xz
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/floatundidf.c')
-rw-r--r--lib/floatundidf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/floatundidf.c b/lib/floatundidf.c
index 64bec04e..e74e9d8d 100644
--- a/lib/floatundidf.c
+++ b/lib/floatundidf.c
@@ -12,7 +12,7 @@
* ===----------------------------------------------------------------------===
*/
-#include "int_lib.h"
+#include "abi.h"
#include <float.h>
/* Returns: convert a to a double, rounding toward even. */
@@ -34,7 +34,7 @@ ARM_EABI_FNALIAS(ul2d, floatundidf);
#include <stdint.h>
-double
+COMPILER_RT_ABI double
__floatundidf(du_int a)
{
static const double twop52 = 0x1.0p52;
@@ -56,7 +56,7 @@ __floatundidf(du_int a)
* set, and we don't want to code-gen to an unknown soft-float implementation.
*/
-double
+COMPILER_RT_ABI double
__floatundidf(du_int a)
{
if (a == 0)