summaryrefslogtreecommitdiffstats
path: root/compiler-rt/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
commite63da933eba10f5ea5bf39af47a0ded719c2cf5d (patch)
tree3e39bc5ad29874dfa68646379425fc218b3f78aa /compiler-rt/lib/floatundidf.c
parent75e3c1993c6d1b78cddfd93d3a936b3dcdf5cebb (diff)
downloadbcm5719-llvm-e63da933eba10f5ea5bf39af47a0ded719c2cf5d.tar.gz
bcm5719-llvm-e63da933eba10f5ea5bf39af47a0ded719c2cf5d.zip
Move abi bits to separate header. Force AAPCS for EABI in accordance with ARM RTABI.
llvm-svn: 129769
Diffstat (limited to 'compiler-rt/lib/floatundidf.c')
-rw-r--r--compiler-rt/lib/floatundidf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler-rt/lib/floatundidf.c b/compiler-rt/lib/floatundidf.c
index 64bec04e5b0..e74e9d8d2fd 100644
--- a/compiler-rt/lib/floatundidf.c
+++ b/compiler-rt/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)
OpenPOWER on IntegriCloud