diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2017-05-16 19:47:19 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2017-05-16 19:47:19 +0000 |
commit | f9102cdabba485d415359124bece145f4a7d9089 (patch) | |
tree | 8eb48238e74ed80be2c4feea51adc53445040d76 /lib/builtins/floatdisf.c | |
parent | 2109e2e4181555140883e9ec46807746a0eabad2 (diff) |
Diffstat (limited to 'lib/builtins/floatdisf.c')
-rw-r--r-- | lib/builtins/floatdisf.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/builtins/floatdisf.c b/lib/builtins/floatdisf.c index 3e47580ef576..dd548165c373 100644 --- a/lib/builtins/floatdisf.c +++ b/lib/builtins/floatdisf.c @@ -22,8 +22,6 @@ #include "int_lib.h" -ARM_EABI_FNALIAS(l2f, floatdisf) - COMPILER_RT_ABI float __floatdisf(di_int a) { @@ -78,3 +76,10 @@ __floatdisf(di_int a) ((su_int)a & 0x007FFFFF); /* mantissa */ return fb.f; } + +#if defined(__ARM_EABI__) +AEABI_RTABI float __aeabi_l2f(di_int a) { + return __floatdisf(a); +} +#endif + |