]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix ldbl-opt/w_lgamma_compatl.c libm_alias_ldouble_other usage.
authorJoseph Myers <joseph@codesourcery.com>
Fri, 13 Oct 2017 16:38:37 +0000 (16:38 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Fri, 13 Oct 2017 16:38:37 +0000 (16:38 +0000)
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.

ChangeLog
sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c

index ab5ada8a93ac21923be0c3b993c1a4e75c1a64ce..74603315babf73c8ec08d3de7af63a755c974601 100644 (file)
--- 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
index 003a253ba496d2ecd0a2352b141c22a636002072..f60b3d7bcfc02af0af764feabe8916338d1f6229 100644 (file)
@@ -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