+2017-10-04 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
+ (fma): Define using libm_alias_double.
+ * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
+ * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
+ <math_ldbl_opt.h>.
+ (fmal): Do not define as compat symbol here.
+ * sysdeps/alpha/fpu/s_fma.c: New file.
+
2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
* sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
--- /dev/null
+/* Always use dbl-64 version because long double is emulated in software. */
+#include <sysdeps/ieee754/dbl-64/s_fma.c>
#include <fenv.h>
#include <ieee754.h>
#include <math_private.h>
+#include <libm-alias-double.h>
#include <tininess.h>
/* This implementation uses rounding to odd to avoid problems with
}
}
#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
+++ /dev/null
-#include <math_ldbl_opt.h>
-#include <sysdeps/ieee754/dbl-64/s_fma.c>
-#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)
-compat_symbol (libm, __fma, fmal, GLIBC_2_1);
-#endif
/* Always use dbl-64 version because long double is emulated in software. */
-#include <math_ldbl_opt.h>
#include <sysdeps/ieee754/dbl-64/s_fma.c>
-#if LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)
-compat_symbol (libm, __fma, fmal, GLIBC_2_1);
-#endif