diff options
Diffstat (limited to 'lib/builtins/floatdidf.c')
-rw-r--r-- | lib/builtins/floatdidf.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/builtins/floatdidf.c b/lib/builtins/floatdidf.c index 681fecef9682..36b856e078d4 100644 --- a/lib/builtins/floatdidf.c +++ b/lib/builtins/floatdidf.c @@ -105,8 +105,11 @@ __floatdidf(di_int a) #endif #if defined(__ARM_EABI__) +#if defined(COMPILER_RT_ARMHF_TARGET) AEABI_RTABI double __aeabi_l2d(di_int a) { return __floatdidf(a); } +#else +AEABI_RTABI double __aeabi_l2d(di_int a) COMPILER_RT_ALIAS(__floatdidf); +#endif #endif - |