diff options
author | 2018-09-18 20:21:40 +0000 | |
---|---|---|
committer | 2018-09-18 20:21:40 +0000 | |
commit | 3d56ebce3ebb9c8a172fe01306f9897260997ec2 (patch) | |
tree | b429f71c3354e03b64d1418b8bc7d7eea2265b45 /lib/libcompiler_rt/floatdisf.c | |
parent | sync (diff) | |
download | wireguard-openbsd-3d56ebce3ebb9c8a172fe01306f9897260997ec2.tar.xz wireguard-openbsd-3d56ebce3ebb9c8a172fe01306f9897260997ec2.zip |
Update to compiler-rt 6.0.0.
tested by naddy@
ok kettenis@
Diffstat (limited to 'lib/libcompiler_rt/floatdisf.c')
-rw-r--r-- | lib/libcompiler_rt/floatdisf.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libcompiler_rt/floatdisf.c b/lib/libcompiler_rt/floatdisf.c index dd548165c37..a2f09eb2ed2 100644 --- a/lib/libcompiler_rt/floatdisf.c +++ b/lib/libcompiler_rt/floatdisf.c @@ -78,8 +78,11 @@ __floatdisf(di_int a) } #if defined(__ARM_EABI__) +#if defined(COMPILER_RT_ARMHF_TARGET) AEABI_RTABI float __aeabi_l2f(di_int a) { return __floatdisf(a); } +#else +AEABI_RTABI float __aeabi_l2f(di_int a) COMPILER_RT_ALIAS(__floatdisf); +#endif #endif - |