summaryrefslogtreecommitdiff
path: root/lib/libcompiler_rt/floatundidf.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcompiler_rt/floatundidf.c')
-rw-r--r--lib/libcompiler_rt/floatundidf.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libcompiler_rt/floatundidf.c b/lib/libcompiler_rt/floatundidf.c
index 6c1a931ef2f..8bc2a096324 100644
--- a/lib/libcompiler_rt/floatundidf.c
+++ b/lib/libcompiler_rt/floatundidf.c
@@ -104,8 +104,11 @@ __floatundidf(du_int a)
#endif
#if defined(__ARM_EABI__)
+#if defined(COMPILER_RT_ARMHF_TARGET)
AEABI_RTABI double __aeabi_ul2d(du_int a) {
return __floatundidf(a);
}
+#else
+AEABI_RTABI double __aeabi_ul2d(du_int a) COMPILER_RT_ALIAS(__floatundidf);
+#endif
#endif
-