This is the mail archive of the mailing list for the glibc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.26.9000-847-g313ba46

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  313ba4630f5f891af22bea9bdf9d9f3c88e49aee (commit)
      from  6940bd966b8b5cf26661c32eae88135143713ba6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------;a=commitdiff;h=313ba4630f5f891af22bea9bdf9d9f3c88e49aee

commit 313ba4630f5f891af22bea9bdf9d9f3c88e49aee
Author: Joseph Myers <>
Date:   Tue Nov 28 17:34:13 2017 +0000

    Use libm_alias_float for s390.
    Continuing the preparation for additional _FloatN / _FloatNx function
    aliases, this patch makes an s390 libm function implementation use
    libm_alias_float to define function aliases.
    Tested with for s390-linux-gnu and
    s390x-linux-gnu that installed stripped shared libraries are unchanged
    by the patch.
    	* sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
    	[!__fmaf] (fmaf): Define using libm_alias_float.

diff --git a/ChangeLog b/ChangeLog
index 4b7e1f3..77092bb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2017-11-28  Joseph Myers  <>
+	* sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
+	[!__fmaf] (fmaf): Define using libm_alias_float.
 	* sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
 	[!__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 c56cc04..4ad7257 100644
--- a/sysdeps/s390/fpu/s_fmaf.c
+++ b/sysdeps/s390/fpu/s_fmaf.c
@@ -18,6 +18,7 @@
    <>.  */
 #include <math.h>
+#include <libm-alias-float.h>
 __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)


Summary of changes:
 ChangeLog                 |    3 +++
 sysdeps/s390/fpu/s_fmaf.c |    3 ++-
 2 files changed, 5 insertions(+), 1 deletions(-)

GNU C Library master sources

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]