aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-10-13 16:38:37 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-10-13 16:38:37 +0000
commit1def91b304faaaf18ab1162bf02bd43c13b5a74d (patch)
tree80132bd2268f79e71a4ad9186908b9853ad54021 /sysdeps
parent7d25d410c23933efa6378c98b0b314f458a48b8e (diff)
downloadglibc-1def91b304faaaf18ab1162bf02bd43c13b5a74d.tar
glibc-1def91b304faaaf18ab1162bf02bd43c13b5a74d.tar.gz
glibc-1def91b304faaaf18ab1162bf02bd43c13b5a74d.tar.bz2
glibc-1def91b304faaaf18ab1162bf02bd43c13b5a74d.zip
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.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c b/sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c
index 003a253ba4..f60b3d7bcf 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