]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Use libm_alias_ldouble_other in ldbl-64-128/s_nextafterl.c.
authorJoseph Myers <joseph@codesourcery.com>
Fri, 13 Oct 2017 23:05:15 +0000 (23:05 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Fri, 13 Oct 2017 23:05:15 +0000 (23:05 +0000)
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.

ChangeLog
sysdeps/ieee754/ldbl-64-128/s_nextafterl.c

index 9121cf66d9f7fc8dbafce936c79e361912c3ef1f..f3cca14d0eefbc44bfe67381550f932e709f9c17 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2017-10-13  Joseph Myers  <joseph@codesourcery.com>
+
+       * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
+       Undefine and restore default definition.  Use
+       libm_alias_ldouble_other.
+
 2017-10-13  Peter Zelezny  <peter.zelezny@dektech.com.au>
 
        [BZ #22153]
index 64c663eda313dbf44189b6765246d135e4f26ca2..5218abea5e9ae7341e55fc83b8f96f85651d841c 100644 (file)
@@ -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)