aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-10-13 23:05:15 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-10-13 23:05:15 +0000
commitf8718a9e1620d6645e3c069e9b13fcd09f6db462 (patch)
treeb96178449ff1989a0a6f20830a271716883c2e9c /sysdeps
parente4f530da0db59ff51549c11ed6ef799b4ade1c87 (diff)
downloadglibc-f8718a9e1620d6645e3c069e9b13fcd09f6db462.tar
glibc-f8718a9e1620d6645e3c069e9b13fcd09f6db462.tar.gz
glibc-f8718a9e1620d6645e3c069e9b13fcd09f6db462.tar.bz2
glibc-f8718a9e1620d6645e3c069e9b13fcd09f6db462.zip
Use libm_alias_ldouble_other in ldbl-64-128/s_nextafterl.c.
This patch makes ldbl-64-128/s_nextafterl.c restore the default weak_alias definition and use libm_alias_ldouble_other (having undefined and redefined weak_alias for the include of ldbl-128/s_nextafterl.c, so the libm_alias_ldouble use in the latter file is ineffective). Tested with build-many-glibcs.py that installed stripped shared libraries are unchanged by this patch. Also tested together with changes to enable float128 aliases. * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias): Undefine and restore default definition. Use libm_alias_ldouble_other.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/ieee754/ldbl-64-128/s_nextafterl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/ieee754/ldbl-64-128/s_nextafterl.c b/sysdeps/ieee754/ldbl-64-128/s_nextafterl.c
index 64c663eda3..5218abea5e 100644
--- a/sysdeps/ieee754/ldbl-64-128/s_nextafterl.c
+++ b/sysdeps/ieee754/ldbl-64-128/s_nextafterl.c
@@ -4,3 +4,6 @@
#include <sysdeps/ieee754/ldbl-128/s_nextafterl.c>
long_double_symbol (libm, __nextafterl, nextafterl);
long_double_symbol (libm, __nexttowardl, nexttowardl);
+#undef weak_alias
+#define weak_alias(name, aliasname) _weak_alias (name, aliasname)
+libm_alias_ldouble_other (__nextafter, nextafter)