summaryrefslogtreecommitdiff
path: root/lib/libcompiler_rt/fixunsdfsi.c
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2017-12-26 20:59:46 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2017-12-26 20:59:46 +0000
commitd8478f94377c30b0c1fd017df878b0a40e2c6d45 (patch)
tree8f02c87bb22bffc9887e21546e1f485d544bc872 /lib/libcompiler_rt/fixunsdfsi.c
parent0a06862e4c4f094c66df855ee85b0cdd097e0240 (diff)
Update to compiler-rt 5.0.1.
ok kettenis@
Diffstat (limited to 'lib/libcompiler_rt/fixunsdfsi.c')
-rw-r--r--lib/libcompiler_rt/fixunsdfsi.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/libcompiler_rt/fixunsdfsi.c b/lib/libcompiler_rt/fixunsdfsi.c
index 232d342d77d..bb3d8e0f831 100644
--- a/lib/libcompiler_rt/fixunsdfsi.c
+++ b/lib/libcompiler_rt/fixunsdfsi.c
@@ -13,9 +13,14 @@
typedef su_int fixuint_t;
#include "fp_fixuint_impl.inc"
-ARM_EABI_FNALIAS(d2uiz, fixunsdfsi)
-
COMPILER_RT_ABI su_int
__fixunsdfsi(fp_t a) {
return __fixuint(a);
}
+
+#if defined(__ARM_EABI__)
+AEABI_RTABI su_int __aeabi_d2uiz(fp_t a) {
+ return __fixunsdfsi(a);
+}
+#endif
+