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/floatsisf.c | |
parent | 2109e2e4181555140883e9ec46807746a0eabad2 (diff) |
Diffstat (limited to 'lib/builtins/floatsisf.c')
-rw-r--r-- | lib/builtins/floatsisf.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/builtins/floatsisf.c b/lib/builtins/floatsisf.c index 467dd1d1eaf1..08891fcdf201 100644 --- a/lib/builtins/floatsisf.c +++ b/lib/builtins/floatsisf.c @@ -18,8 +18,6 @@ #include "int_lib.h" -ARM_EABI_FNALIAS(i2f, floatsisf) - COMPILER_RT_ABI fp_t __floatsisf(int a) { @@ -57,3 +55,10 @@ __floatsisf(int a) { // Insert the sign bit and return return fromRep(result | sign); } + +#if defined(__ARM_EABI__) +AEABI_RTABI fp_t __aeabi_i2f(int a) { + return __floatsisf(a); +} +#endif + |