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/truncdfhf2.c | |
| parent | 2109e2e4181555140883e9ec46807746a0eabad2 (diff) | |
Notes
Diffstat (limited to 'lib/builtins/truncdfhf2.c')
| -rw-r--r-- | lib/builtins/truncdfhf2.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/builtins/truncdfhf2.c b/lib/builtins/truncdfhf2.c index 17195cd9e7991..4bb71aa178a0a 100644 --- a/lib/builtins/truncdfhf2.c +++ b/lib/builtins/truncdfhf2.c @@ -11,8 +11,13 @@ #define DST_HALF #include "fp_trunc_impl.inc" -ARM_EABI_FNALIAS(d2h, truncdfhf2) - COMPILER_RT_ABI uint16_t __truncdfhf2(double a) { return __truncXfYf2__(a); } + +#if defined(__ARM_EABI__) +AEABI_RTABI uint16_t __aeabi_d2h(double a) { + return __truncdfhf2(a); +} +#endif + |
