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-562-g1def91b


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  1def91b304faaaf18ab1162bf02bd43c13b5a74d (commit)
      from  7d25d410c23933efa6378c98b0b314f458a48b8e (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=1def91b304faaaf18ab1162bf02bd43c13b5a74d

commit 1def91b304faaaf18ab1162bf02bd43c13b5a74d
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Fri Oct 13 16:38:37 2017 +0000

    Fix ldbl-opt/w_lgamma_compatl.c libm_alias_ldouble_other usage.
    
    Testing with changes to enable _Float128 function aliases shows that
    the libm_alias_ldouble_other usage in ldbl-opt/w_lgamma_compatl.c does
    not in fact work.  Furthermore, it is unnecessary; the relevant
    aliases get created through w_lgammal_compat2.c.  This patch removes
    the problem code.
    
    Tested with build-many-glibcs.py that installed stripped shared
    libraries are unchanged by the patch.  Also tested in conjunction with
    patches to enable _Float128 function aliases.
    
    	* sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
    	Remove conditional code.

diff --git a/ChangeLog b/ChangeLog
index ab5ada8..7460331 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2017-10-13  Joseph Myers  <joseph@codesourcery.com>
 
+	* sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
+	Remove conditional code.
+
 	* sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
 	Rename to __clog10_internal_l.
 	(__clog10_internal_l): Define aliases using
diff --git a/sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c b/sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c
index 003a253..f60b3d7 100644
--- a/sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c
+++ b/sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c
@@ -9,8 +9,3 @@
 #if GAMMA_ALIAS
 long_double_symbol (libm, __gammal, gammal);
 #endif
-#if BUILD_LGAMMA
-# undef weak_alias
-# define weak_alias(name, aliasname) _weak_alias (name, aliasname)
-libm_alias_ldouble_other (__lgamma, lgamma)
-#endif

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

Summary of changes:
 ChangeLog                                   |    3 +++
 sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c |    5 -----
 2 files changed, 3 insertions(+), 5 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]