This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.26-561-g7d25d41
- From: jsm28 at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 13 Oct 2017 16:37:09 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.26-561-g7d25d41
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 7d25d410c23933efa6378c98b0b314f458a48b8e (commit)
from 077ee129781ad7c003184f6c00cb61744a727157 (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=7d25d410c23933efa6378c98b0b314f458a48b8e
commit 7d25d410c23933efa6378c98b0b314f458a48b8e
Author: Joseph Myers <joseph@codesourcery.com>
Date: Fri Oct 13 16:36:45 2017 +0000
Fix ldbl-opt/s_clog10l.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/s_clog10l.c does not in
fact work, because __clog10l is defined with long_double_symbol rather
than as a normal C alias. This patch fixes this by renaming the
__clog10l__internal alias (not strictly necessary, but avoids a hack
with "__clog10l_interna" / "__clog10l__interna" as first argument to
libm_alias_ldouble_other) and using the renamed alias when calling
libm_alias_ldouble_other.
Tested with build-many-glibcs.py that installed stripped shared
libraries are unchanges by the patch. Also tested in conjunction with
patches to enable _Float128 function aliases.
* sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
Rename to __clog10_internal_l.
(__clog10_internal_l): Define aliases using
libm_alias_ldouble_other instead of using libm_alias_ldouble_other
with __clog10.
diff --git a/ChangeLog b/ChangeLog
index 58f09a0..ab5ada8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2017-10-13 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
+ Rename to __clog10_internal_l.
+ (__clog10_internal_l): Define aliases using
+ libm_alias_ldouble_other instead of using libm_alias_ldouble_other
+ with __clog10.
+
2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
* benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
diff --git a/sysdeps/ieee754/ldbl-opt/s_clog10l.c b/sysdeps/ieee754/ldbl-opt/s_clog10l.c
index d557e96..1ff1161 100644
--- a/sysdeps/ieee754/ldbl-opt/s_clog10l.c
+++ b/sysdeps/ieee754/ldbl-opt/s_clog10l.c
@@ -26,7 +26,7 @@
#include <s_clog10_template.c>
/* __clog10l is also a public symbol. */
-strong_alias (__clog10l_internal, __clog10l__internal)
+strong_alias (__clog10l_internal, __clog10_internal_l)
long_double_symbol (libm, __clog10l_internal, __clog10l);
-long_double_symbol (libm, __clog10l__internal, clog10l);
-libm_alias_ldouble_other (__clog10, clog10)
+long_double_symbol (libm, __clog10_internal_l, clog10l);
+libm_alias_ldouble_other (__clog10_internal_, clog10)
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 8 ++++++++
sysdeps/ieee754/ldbl-opt/s_clog10l.c | 6 +++---
2 files changed, 11 insertions(+), 3 deletions(-)
hooks/post-receive
--
GNU C Library master sources