diff --git a/ChangeLog b/ChangeLog index 9307f40fae..4b7e1f36e7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2017-11-28 Joseph Myers + + * sysdeps/s390/fpu/s_fma.c: Include . + [!__fma] (fma): Define using libm_alias_double. + * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove. + 2017-11-28 Mike FABIAN [BZ #22336] diff --git a/sysdeps/s390/fpu/s_fma.c b/sysdeps/s390/fpu/s_fma.c index fb7210b19a..3f37400157 100644 --- a/sysdeps/s390/fpu/s_fma.c +++ b/sysdeps/s390/fpu/s_fma.c @@ -18,6 +18,7 @@ . */ #include +#include double __fma (double x, double y, double z) @@ -27,10 +28,5 @@ __fma (double x, double y, double z) return r; } #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 diff --git a/sysdeps/unix/sysv/linux/s390/fpu/s_fma.c b/sysdeps/unix/sysv/linux/s390/fpu/s_fma.c deleted file mode 100644 index 2b2d505030..0000000000 --- a/sysdeps/unix/sysv/linux/s390/fpu/s_fma.c +++ /dev/null @@ -1,5 +0,0 @@ -#include -#include -#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_1) -compat_symbol (libm, __fma, fmal, GLIBC_2_1); -#endif