diff options
author | 2017-12-26 20:59:44 +0000 | |
---|---|---|
committer | 2017-12-26 20:59:44 +0000 | |
commit | c72a1c0960669bfd1eb87723f902bc05ee727707 (patch) | |
tree | 46e715b14e68651d2b18adda557278098e9bb0d4 /lib/libcompiler_rt/floatdidf.c | |
parent | Cherry-pick a change from LLVM that marks specific pseudo memory (diff) | |
download | wireguard-openbsd-c72a1c0960669bfd1eb87723f902bc05ee727707.tar.xz wireguard-openbsd-c72a1c0960669bfd1eb87723f902bc05ee727707.zip |
Update to compiler-rt 5.0.1.
ok kettenis@
Diffstat (limited to 'lib/libcompiler_rt/floatdidf.c')
-rw-r--r-- | lib/libcompiler_rt/floatdidf.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/libcompiler_rt/floatdidf.c b/lib/libcompiler_rt/floatdidf.c index 2b023ad08be..681fecef968 100644 --- a/lib/libcompiler_rt/floatdidf.c +++ b/lib/libcompiler_rt/floatdidf.c @@ -22,8 +22,6 @@ /* seee eeee eeee mmmm mmmm mmmm mmmm mmmm | mmmm mmmm mmmm mmmm mmmm mmmm mmmm mmmm */ -ARM_EABI_FNALIAS(l2d, floatdidf) - #ifndef __SOFT_FP__ /* Support for systems that have hardware floating-point; we'll set the inexact flag * as a side-effect of this computation. @@ -105,3 +103,10 @@ __floatdidf(di_int a) return fb.f; } #endif + +#if defined(__ARM_EABI__) +AEABI_RTABI double __aeabi_l2d(di_int a) { + return __floatdidf(a); +} +#endif + |