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-906-g0d5ba56


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  0d5ba561c1ef3d4abf060bbdba88c29379d4adbe (commit)
      from  51ea3b2042ae5012c8e93142baf2e4e84909ff5f (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=0d5ba561c1ef3d4abf060bbdba88c29379d4adbe

commit 0d5ba561c1ef3d4abf060bbdba88c29379d4adbe
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Fri Dec 1 23:37:46 2017 +0000

    Base powerpc logbl compat symbols on __logb not logb.
    
    Some powerpc logb implementations define a compat symbol for logbl
    based on logb, whereas libm_alias_double defines such a compat symbol
    based on __logb instead.  This difference (logb is weak, __logb isn't)
    is enough to result in different installed stripped shared libraries.
    The difference in the installed libraries isn't significant, but first
    changing the compat_symbol calls helps make it possible to validate a
    subsequent change to use libm_alias_double by comparison of libraries,
    so this patch does such a preliminary change.
    
    Tested with build-many-glibcs.py for all its hard-float powerpc
    configurations.
    
    	* sysdeps/powerpc/power7/fpu/s_logb.c
    	[LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
    	symbol based on __logb, not on logb.
    	* sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
    	[LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
    	* sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
    	[LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.

diff --git a/ChangeLog b/ChangeLog
index 27b49cd..9bc6376 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2017-12-01  Joseph Myers  <joseph@codesourcery.com>
 
+	* sysdeps/powerpc/power7/fpu/s_logb.c
+	[LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
+	symbol based on __logb, not on logb.
+	* sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
+	[LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
+	* sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
+	[LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
+
 	* sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
 	(rint): Define using libm_alias_double.
 	* sysdeps/powerpc/power5+/fpu/s_modf.c: Include
diff --git a/sysdeps/powerpc/power7/fpu/s_logb.c b/sysdeps/powerpc/power7/fpu/s_logb.c
index af74b1d..1c7a4a8 100644
--- a/sysdeps/powerpc/power7/fpu/s_logb.c
+++ b/sysdeps/powerpc/power7/fpu/s_logb.c
@@ -75,5 +75,5 @@ weak_alias (__logb, logbl)
 #endif
 
 #if LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)
-compat_symbol (libm, logb, logbl, GLIBC_2_0);
+compat_symbol (libm, __logb, logbl, GLIBC_2_0);
 #endif
diff --git a/sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c b/sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
index fddd1ec..f178967 100644
--- a/sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
+++ b/sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
@@ -37,5 +37,5 @@ weak_alias (__logb, logbl)
 #endif
 
 #if LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)
-compat_symbol (libm, logb, logbl, GLIBC_2_0);
+compat_symbol (libm, __logb, logbl, GLIBC_2_0);
 #endif
diff --git a/sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c b/sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
index d70919e..c2e9f4d 100644
--- a/sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
+++ b/sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
@@ -37,5 +37,5 @@ weak_alias (__logb, logbl)
 #endif
 
 #if LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)
-compat_symbol (libm, logb, logbl, GLIBC_2_0);
+compat_symbol (libm, __logb, logbl, GLIBC_2_0);
 #endif

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

Summary of changes:
 ChangeLog                                          |    8 ++++++++
 sysdeps/powerpc/power7/fpu/s_logb.c                |    2 +-
 .../powerpc32/power4/fpu/multiarch/s_logb.c        |    2 +-
 sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c   |    2 +-
 4 files changed, 11 insertions(+), 3 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]