diff --git a/ChangeLog b/ChangeLog index 4b7e1f36e7..77092bbfa5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2017-11-28 Joseph Myers + * sysdeps/s390/fpu/s_fmaf.c: Include . + [!__fmaf] (fmaf): Define using libm_alias_float. + * sysdeps/s390/fpu/s_fma.c: Include . [!__fma] (fma): Define using libm_alias_double. * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove. diff --git a/sysdeps/s390/fpu/s_fmaf.c b/sysdeps/s390/fpu/s_fmaf.c index c56cc040e8..4ad7257887 100644 --- a/sysdeps/s390/fpu/s_fmaf.c +++ b/sysdeps/s390/fpu/s_fmaf.c @@ -18,6 +18,7 @@ . */ #include +#include float __fmaf (float x, float y, float z) @@ -27,5 +28,5 @@ __fmaf (float x, float y, float z) return r; } #ifndef __fmaf -weak_alias (__fmaf, fmaf) +libm_alias_float (__fma, fma) #endif