summaryrefslogtreecommitdiffstats
path: root/lib/libcompiler_rt/floatdidf.c
diff options
context:
space:
mode:
authorpatrick <patrick@openbsd.org>2018-09-18 20:21:40 +0000
committerpatrick <patrick@openbsd.org>2018-09-18 20:21:40 +0000
commit3d56ebce3ebb9c8a172fe01306f9897260997ec2 (patch)
treeb429f71c3354e03b64d1418b8bc7d7eea2265b45 /lib/libcompiler_rt/floatdidf.c
parentsync (diff)
downloadwireguard-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/floatdidf.c')
-rw-r--r--lib/libcompiler_rt/floatdidf.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libcompiler_rt/floatdidf.c b/lib/libcompiler_rt/floatdidf.c
index 681fecef968..36b856e078d 100644
--- a/lib/libcompiler_rt/floatdidf.c
+++ b/lib/libcompiler_rt/floatdidf.c
@@ -105,8 +105,11 @@ __floatdidf(di_int a)
#endif
#if defined(__ARM_EABI__)
+#if defined(COMPILER_RT_ARMHF_TARGET)
AEABI_RTABI double __aeabi_l2d(di_int a) {
return __floatdidf(a);
}
+#else
+AEABI_RTABI double __aeabi_l2d(di_int a) COMPILER_RT_ALIAS(__floatdidf);
+#endif
#endif
-