summaryrefslogtreecommitdiff
path: root/lib/libcompiler_rt/divsf3.c
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2018-09-18 20:21:41 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2018-09-18 20:21:41 +0000
commitfeb8e6be641f88ad65d9d6cf06e26c8d41f28fb8 (patch)
treea787eed36741a78fb40ca0d1772b592cd96b21cc /lib/libcompiler_rt/divsf3.c
parent5095a11a2dcd52bd87ec96c220c29981d2796c54 (diff)
Update to compiler-rt 6.0.0.
tested by naddy@ ok kettenis@
Diffstat (limited to 'lib/libcompiler_rt/divsf3.c')
-rw-r--r--lib/libcompiler_rt/divsf3.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libcompiler_rt/divsf3.c b/lib/libcompiler_rt/divsf3.c
index aa6289a6d70..65294d70fc6 100644
--- a/lib/libcompiler_rt/divsf3.c
+++ b/lib/libcompiler_rt/divsf3.c
@@ -167,8 +167,11 @@ __divsf3(fp_t a, fp_t b) {
}
#if defined(__ARM_EABI__)
+#if defined(COMPILER_RT_ARMHF_TARGET)
AEABI_RTABI fp_t __aeabi_fdiv(fp_t a, fp_t b) {
return __divsf3(a, b);
}
+#else
+AEABI_RTABI fp_t __aeabi_fdiv(fp_t a, fp_t b) COMPILER_RT_ALIAS(__divsf3);
+#endif
#endif
-