summaryrefslogtreecommitdiffstats
path: root/lib/libcompiler_rt/floatundidf.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/floatundidf.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/floatundidf.c')
-rw-r--r--lib/libcompiler_rt/floatundidf.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libcompiler_rt/floatundidf.c b/lib/libcompiler_rt/floatundidf.c
index 6c1a931ef2f..8bc2a096324 100644
--- a/lib/libcompiler_rt/floatundidf.c
+++ b/lib/libcompiler_rt/floatundidf.c
@@ -104,8 +104,11 @@ __floatundidf(du_int a)
#endif
#if defined(__ARM_EABI__)
+#if defined(COMPILER_RT_ARMHF_TARGET)
AEABI_RTABI double __aeabi_ul2d(du_int a) {
return __floatundidf(a);
}
+#else
+AEABI_RTABI double __aeabi_ul2d(du_int a) COMPILER_RT_ALIAS(__floatundidf);
+#endif
#endif
-