about summary refs log tree commit diff
path: root/soft-fp/fmadf4.c
diff options
context:
space:
mode:
Diffstat (limited to 'soft-fp/fmadf4.c')
-rw-r--r--soft-fp/fmadf4.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/soft-fp/fmadf4.c b/soft-fp/fmadf4.c
index 74e2360eb7..313547d061 100644
--- a/soft-fp/fmadf4.c
+++ b/soft-fp/fmadf4.c
@@ -27,6 +27,7 @@
 
 #include <math.h>
 #include <libc-diag.h>
+#include <libm-alias-double.h>
 
 /* R_e is not set in cases where it is not used in packing, but the
    compiler does not see that it is set in all cases where it is
@@ -63,10 +64,5 @@ __fma (double a, double b, double c)
 DIAG_POP_NEEDS_COMMENT;
 
 #ifndef __fma
-weak_alias (__fma, fma)
-#endif
-
-#ifdef NO_LONG_DOUBLE
-strong_alias (__fma, __fmal)
-weak_alias (__fmal, fmal)
+libm_alias_double (__fma, fma)
 #endif