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-568-gf8718a9


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  f8718a9e1620d6645e3c069e9b13fcd09f6db462 (commit)
      from  e4f530da0db59ff51549c11ed6ef799b4ade1c87 (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=f8718a9e1620d6645e3c069e9b13fcd09f6db462

commit f8718a9e1620d6645e3c069e9b13fcd09f6db462
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Fri Oct 13 23:05:15 2017 +0000

    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.

diff --git a/ChangeLog b/ChangeLog
index 9121cf6..f3cca14 100644
--- 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]
diff --git a/sysdeps/ieee754/ldbl-64-128/s_nextafterl.c b/sysdeps/ieee754/ldbl-64-128/s_nextafterl.c
index 64c663e..5218abe 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)

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

Summary of changes:
 ChangeLog                                  |    6 ++++++
 sysdeps/ieee754/ldbl-64-128/s_nextafterl.c |    3 +++
 2 files changed, 9 insertions(+), 0 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]