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/comparedf2.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/comparedf2.c')
-rw-r--r-- | lib/libcompiler_rt/comparedf2.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libcompiler_rt/comparedf2.c b/lib/libcompiler_rt/comparedf2.c index c5bb169d002..44e5d2b288a 100644 --- a/lib/libcompiler_rt/comparedf2.c +++ b/lib/libcompiler_rt/comparedf2.c @@ -143,8 +143,11 @@ __gtdf2(fp_t a, fp_t b) { } #if defined(__ARM_EABI__) +#if defined(COMPILER_RT_ARMHF_TARGET) AEABI_RTABI int __aeabi_dcmpun(fp_t a, fp_t b) { return __unorddf2(a, b); } +#else +AEABI_RTABI int __aeabi_dcmpun(fp_t a, fp_t b) COMPILER_RT_ALIAS(__unorddf2); +#endif #endif - |