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-907-g0ddde47


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

commit 0ddde474db4e466a991652049888b7dbb8515f69
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Fri Dec 1 23:58:05 2017 +0000

    Define powerpc64 lroundl compat symbol only once.
    
    sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c defines the
    lroundl compat symbol, version GLIBC_2_1, twice, once based on llround
    and once based on __lround.  Those are aliases for each other (llround
    weak, __lround strong), but defining it twice does not make sense.
    This patch changes it to define the compat symbol once only, matching
    how libm_alias_double defines it.
    
    Tested with build-many-glibcs.py for its powerpc64 configurations.
    
    	* sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
    	[LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
    	compat symbol based on llround.

diff --git a/ChangeLog b/ChangeLog
index 9bc6376..e65ca61 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2017-12-01  Joseph Myers  <joseph@codesourcery.com>
 
+	* sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
+	[LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
+	compat symbol based on llround.
+
 	* 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.
diff --git a/sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c b/sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
index cb1a446..b6c70c2 100644
--- a/sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
+++ b/sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
@@ -46,7 +46,6 @@ strong_alias (__llround, __llroundl)
 #endif
 #if LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)
 compat_symbol (libm, __llround, llroundl, GLIBC_2_1);
-compat_symbol (libm, llround, lroundl, GLIBC_2_1);
 #endif
 
 /* long has the same width as long long on PPC64.  */

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

Summary of changes:
 ChangeLog                                          |    4 ++++
 .../powerpc/powerpc64/fpu/multiarch/s_llround.c    |    1 -
 2 files changed, 4 insertions(+), 1 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]