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.9000-904-gec2cf3f


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  ec2cf3f4445af7d729308350edf1e890eeebdd1d (commit)
      from  15e84c63c05e0652047ba5e738c54d79d62ba74b (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=ec2cf3f4445af7d729308350edf1e890eeebdd1d

commit ec2cf3f4445af7d729308350edf1e890eeebdd1d
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Fri Dec 1 22:23:28 2017 +0000

    Use libm_alias_double for powerpc fabs, fma.
    
    Continuing the preparation for additional _FloatN / _FloatNx function
    aliases, this patch makes powerpc fabs and fma use libm_alias_double
    to define function aliases.  This brings in automatic symbol
    versioning compat handling, so the powerpc32 and powerpc64 wrappers
    that added such handling to the generic sysdeps/powerpc/fpu versions
    are removed as no longer required (there are no sysdeps directory
    ordering issues that would necessitate keeping trivial wrappers
    there).
    
    Tested with build-many-glibcs.py that installed stripped shared
    libraries are unchanged for all its hard-float powerpc configurations.
    
    	* sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
    	(fabs): Define using libm_alias_double.
    	* sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
    	(fma): Define using libm_alias_double.
    	* sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
    	* sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
    	* sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
    	* sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.

diff --git a/ChangeLog b/ChangeLog
index 0a25edb..5b13d0d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2017-12-01  Joseph Myers  <joseph@codesourcery.com>
+
+	* sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
+	(fabs): Define using libm_alias_double.
+	* sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
+	(fma): Define using libm_alias_double.
+	* sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
+	* sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
+	* sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
+	* sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
+
 2017-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
 
 	* sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
diff --git a/sysdeps/powerpc/fpu/s_fabs.S b/sysdeps/powerpc/fpu/s_fabs.S
index 87dc82e..68f8801 100644
--- a/sysdeps/powerpc/fpu/s_fabs.S
+++ b/sysdeps/powerpc/fpu/s_fabs.S
@@ -17,6 +17,7 @@
    <http://www.gnu.org/licenses/>.  */
 
 #include <sysdep.h>
+#include <libm-alias-double.h>
 
 ENTRY(__fabs)
 /* double [f1] fabs (double [f1] x); */
@@ -24,13 +25,8 @@ ENTRY(__fabs)
 	blr
 END(__fabs)
 
-weak_alias (__fabs,fabs)
+libm_alias_double (__fabs, fabs)
 
 /* It turns out that it's safe to use this code even for single-precision.  */
 strong_alias(__fabs,__fabsf)
 weak_alias (__fabs,fabsf)
-
-#ifdef NO_LONG_DOUBLE
-weak_alias (__fabs,__fabsl)
-weak_alias (__fabs,fabsl)
-#endif
diff --git a/sysdeps/powerpc/fpu/s_fma.S b/sysdeps/powerpc/fpu/s_fma.S
index 19d2717..8a1a8e5 100644
--- a/sysdeps/powerpc/fpu/s_fma.S
+++ b/sysdeps/powerpc/fpu/s_fma.S
@@ -17,6 +17,7 @@
    <http://www.gnu.org/licenses/>.  */
 
 #include <sysdep.h>
+#include <libm-alias-double.h>
 
 ENTRY_TOCLESS(__fma)
 /* double [f1] fma (double [f1] x, double [f2] y, double [f3] z); */
@@ -24,9 +25,4 @@ ENTRY_TOCLESS(__fma)
 	blr
 END(__fma)
 
-weak_alias (__fma,fma)
-
-#ifdef NO_LONG_DOUBLE
-weak_alias (__fma,__fmal)
-weak_alias (__fma,fmal)
-#endif
+libm_alias_double (__fma, fma)
diff --git a/sysdeps/powerpc/powerpc32/fpu/s_fabs.S b/sysdeps/powerpc/powerpc32/fpu/s_fabs.S
deleted file mode 100644
index 53d2130..0000000
--- a/sysdeps/powerpc/powerpc32/fpu/s_fabs.S
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <math_ldbl_opt.h>
-#include <sysdeps/powerpc/fpu/s_fabs.S>
-#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)
-compat_symbol (libm, __fabs, fabsl, GLIBC_2_0)
-#endif
diff --git a/sysdeps/powerpc/powerpc32/fpu/s_fma.S b/sysdeps/powerpc/powerpc32/fpu/s_fma.S
deleted file mode 100644
index d40695c..0000000
--- a/sysdeps/powerpc/powerpc32/fpu/s_fma.S
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <math_ldbl_opt.h>
-#include <sysdeps/powerpc/fpu/s_fma.S>
-#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)
-compat_symbol (libm, __fma, fmal, GLIBC_2_1)
-#endif
diff --git a/sysdeps/powerpc/powerpc64/fpu/s_fabs.S b/sysdeps/powerpc/powerpc64/fpu/s_fabs.S
deleted file mode 100644
index 53d2130..0000000
--- a/sysdeps/powerpc/powerpc64/fpu/s_fabs.S
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <math_ldbl_opt.h>
-#include <sysdeps/powerpc/fpu/s_fabs.S>
-#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)
-compat_symbol (libm, __fabs, fabsl, GLIBC_2_0)
-#endif
diff --git a/sysdeps/powerpc/powerpc64/fpu/s_fma.S b/sysdeps/powerpc/powerpc64/fpu/s_fma.S
deleted file mode 100644
index d40695c..0000000
--- a/sysdeps/powerpc/powerpc64/fpu/s_fma.S
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <math_ldbl_opt.h>
-#include <sysdeps/powerpc/fpu/s_fma.S>
-#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)
-compat_symbol (libm, __fma, fmal, GLIBC_2_1)
-#endif

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

Summary of changes:
 ChangeLog                              |   11 +++++++++++
 sysdeps/powerpc/fpu/s_fabs.S           |    8 ++------
 sysdeps/powerpc/fpu/s_fma.S            |    8 ++------
 sysdeps/powerpc/powerpc32/fpu/s_fabs.S |    5 -----
 sysdeps/powerpc/powerpc32/fpu/s_fma.S  |    5 -----
 sysdeps/powerpc/powerpc64/fpu/s_fabs.S |    5 -----
 sysdeps/powerpc/powerpc64/fpu/s_fma.S  |    5 -----
 7 files changed, 15 insertions(+), 32 deletions(-)
 delete mode 100644 sysdeps/powerpc/powerpc32/fpu/s_fabs.S
 delete mode 100644 sysdeps/powerpc/powerpc32/fpu/s_fma.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/s_fabs.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/s_fma.S


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]