diff options
author | Patrick Wildt <patrick@cvs.openbsd.org> | 2018-09-18 20:21:41 +0000 |
---|---|---|
committer | Patrick Wildt <patrick@cvs.openbsd.org> | 2018-09-18 20:21:41 +0000 |
commit | feb8e6be641f88ad65d9d6cf06e26c8d41f28fb8 (patch) | |
tree | a787eed36741a78fb40ca0d1772b592cd96b21cc /lib/libcompiler_rt/divsf3.c | |
parent | 5095a11a2dcd52bd87ec96c220c29981d2796c54 (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.c | 5 |
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 - |