diff options
Diffstat (limited to 'lib/libcompiler_rt/subdf3.c')
-rw-r--r-- | lib/libcompiler_rt/subdf3.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libcompiler_rt/subdf3.c b/lib/libcompiler_rt/subdf3.c index 38340dfab1a..a892fa603cf 100644 --- a/lib/libcompiler_rt/subdf3.c +++ b/lib/libcompiler_rt/subdf3.c @@ -22,8 +22,11 @@ __subdf3(fp_t a, fp_t b) { } #if defined(__ARM_EABI__) +#if defined(COMPILER_RT_ARMHF_TARGET) AEABI_RTABI fp_t __aeabi_dsub(fp_t a, fp_t b) { return __subdf3(a, b); } +#else +AEABI_RTABI fp_t __aeabi_dsub(fp_t a, fp_t b) COMPILER_RT_ALIAS(__subdf3); +#endif #endif - |