This is the mail archive of the glibc-cvs@sourceware.org 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-550-g541f19b


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  541f19baf89e16304cdc5c3c8826896d3d2a7034 (commit)
      from  24b6515d879c992be194ccd5323b8b780fa6d4d3 (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 -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=541f19baf89e16304cdc5c3c8826896d3d2a7034

commit 541f19baf89e16304cdc5c3c8826896d3d2a7034
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Wed Oct 11 00:03:46 2017 +0000

    Use libm_alias_* in soft-fp.
    
    This patch makes the soft-fp implementations of fma functions use the
    libm_alias_* macros.
    
    Tested with build-many-glibcs.py that installed stripped shared
    libraries are unchanged by the patch.
    
    	* soft-fp/fmadf4.c: Include <libm-alias-double.h>.
    	[!__fma] (fma): Define using libm_alias_double.
    	* soft-fp/fmasf4.c: Include <libm-alias-float.h>.
    	[!__fmaf] (fmaf): Define using libm_alias_float.
    	* soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
    	(fmal): Define using libm_alias_ldouble.

diff --git a/ChangeLog b/ChangeLog
index a3c6b0a..870d29d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2017-10-11  Joseph Myers  <joseph@codesourcery.com>
+
+	* soft-fp/fmadf4.c: Include <libm-alias-double.h>.
+	[!__fma] (fma): Define using libm_alias_double.
+	* soft-fp/fmasf4.c: Include <libm-alias-float.h>.
+	[!__fmaf] (fmaf): Define using libm_alias_float.
+	* soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
+	(fmal): Define using libm_alias_ldouble.
+
 2017-10-10  Joseph Myers  <joseph@codesourcery.com>
 
 	* sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
diff --git a/soft-fp/fmadf4.c b/soft-fp/fmadf4.c
index 74e2360..313547d 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
diff --git a/soft-fp/fmasf4.c b/soft-fp/fmasf4.c
index 2d3120e..295223d 100644
--- a/soft-fp/fmasf4.c
+++ b/soft-fp/fmasf4.c
@@ -27,6 +27,7 @@
 
 #include <math.h>
 #include <libc-diag.h>
+#include <libm-alias-float.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,5 +64,5 @@ __fmaf (float a, float b, float c)
 DIAG_POP_NEEDS_COMMENT;
 
 #ifndef __fmaf
-weak_alias (__fmaf, fmaf)
+libm_alias_float (__fma, fma)
 #endif
diff --git a/soft-fp/fmatf4.c b/soft-fp/fmatf4.c
index 553a7ad..79be52c 100644
--- a/soft-fp/fmatf4.c
+++ b/soft-fp/fmatf4.c
@@ -27,6 +27,7 @@
 
 #include <math.h>
 #include <libc-diag.h>
+#include <libm-alias-ldouble.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
@@ -62,4 +63,4 @@ __fmal (long double a, long double b, long double c)
 }
 DIAG_POP_NEEDS_COMMENT;
 
-weak_alias (__fmal, fmal)
+libm_alias_ldouble (__fma, fma)

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog        |    9 +++++++++
 soft-fp/fmadf4.c |    8 ++------
 soft-fp/fmasf4.c |    3 ++-
 soft-fp/fmatf4.c |    3 ++-
 4 files changed, 15 insertions(+), 8 deletions(-)


hooks/post-receive
-- 
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]