summaryrefslogtreecommitdiff
path: root/lib/libcompiler_rt/muldf3.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcompiler_rt/muldf3.c')
-rw-r--r--lib/libcompiler_rt/muldf3.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libcompiler_rt/muldf3.c b/lib/libcompiler_rt/muldf3.c
index 59a60190eba..1bb103e38c1 100644
--- a/lib/libcompiler_rt/muldf3.c
+++ b/lib/libcompiler_rt/muldf3.c
@@ -20,8 +20,11 @@ COMPILER_RT_ABI fp_t __muldf3(fp_t a, fp_t b) {
}
#if defined(__ARM_EABI__)
+#if defined(COMPILER_RT_ARMHF_TARGET)
AEABI_RTABI fp_t __aeabi_dmul(fp_t a, fp_t b) {
return __muldf3(a, b);
}
+#else
+AEABI_RTABI fp_t __aeabi_dmul(fp_t a, fp_t b) COMPILER_RT_ALIAS(__muldf3);
+#endif
#endif
-