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.25-239-g832d8bc
- From: jsm28 at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 20 Apr 2017 20:35:41 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.25-239-g832d8bc
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 832d8bc00b66adcb98a1c2064a2d555853ea49ed (commit)
from d76d3703551a362b472c866b5b6089f66f8daa8e (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=832d8bc00b66adcb98a1c2064a2d555853ea49ed
commit 832d8bc00b66adcb98a1c2064a2d555853ea49ed
Author: Joseph Myers <joseph@codesourcery.com>
Date: Thu Apr 20 20:35:21 2017 +0000
Do not use wildcard symbol names for public versions in Versions files.
As noted in
<https://sourceware.org/ml/libc-alpha/2012-12/msg00240.html>,
stdlib/Versions and wcsmbs/Versions list some functions as
__strto*_internal and __wcsto*_internal rather than explicitly listing
the symbols to be exported (so any new internal function matching one
of those patterns would be wrongly added to version GLIBC_2.0), which
seems like a bad idea. This patch changes those files to list the
exported symbols explicitly. There are still entries in
sysdeps/nacl/Versions for __nacl_irt_*, but as GLIBC_PRIVATE symbols
that seems less significant.
Tested with build-many-glibcs.py that installed stripped shared
libraries are unchanged by the patch.
* stdlib/Versions (__strtod_internal): List explicitly, not as
wildcard.
(__strtof_internal): Likewise.
(__strtold_internal): Likewise.
(__strtol_internal): Likewise.
(__strtoll_internal): Likewise.
(__strtoul_internal): Likewise.
(__strtoull_internal): Likewise.
(__strtoq_internal): Likewise.
(__strtouq_internal): Likewise.
* wcsmbs/Versions (__wcstod_internal): Likewise.
(__wcstof_internal): Likewise.
(__wcstold_internal): Likewise.
(__wcstol_internal): Likewise.
(__wcstoll_internal): Likewise.
(__wcstoul_internal): Likewise.
(__wcstoull_internal): Likewise.
diff --git a/ChangeLog b/ChangeLog
index 31b56a7..e60f6c3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,23 @@
+2017-04-20 Joseph Myers <joseph@codesourcery.com>
+
+ * stdlib/Versions (__strtod_internal): List explicitly, not as
+ wildcard.
+ (__strtof_internal): Likewise.
+ (__strtold_internal): Likewise.
+ (__strtol_internal): Likewise.
+ (__strtoll_internal): Likewise.
+ (__strtoul_internal): Likewise.
+ (__strtoull_internal): Likewise.
+ (__strtoq_internal): Likewise.
+ (__strtouq_internal): Likewise.
+ * wcsmbs/Versions (__wcstod_internal): Likewise.
+ (__wcstof_internal): Likewise.
+ (__wcstold_internal): Likewise.
+ (__wcstol_internal): Likewise.
+ (__wcstoll_internal): Likewise.
+ (__wcstoul_internal): Likewise.
+ (__wcstoull_internal): Likewise.
+
2017-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
* io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
diff --git a/stdlib/Versions b/stdlib/Versions
index 415b994..9cade20 100644
--- a/stdlib/Versions
+++ b/stdlib/Versions
@@ -4,7 +4,11 @@ libc {
__xpg_basename;
# functions used in inline functions or macros
- __strto*_internal;
+ __strtod_internal; __strtof_internal; __strtold_internal;
+ __strtol_internal; __strtoll_internal;
+ __strtoul_internal; __strtoull_internal;
+ # functions formerly so used (compatibility symbols)
+ __strtoq_internal; __strtouq_internal;
# compatibility symbol
__secure_getenv;
diff --git a/wcsmbs/Versions b/wcsmbs/Versions
index 1ff5ff3..b8f7bd7 100644
--- a/wcsmbs/Versions
+++ b/wcsmbs/Versions
@@ -1,7 +1,10 @@
libc {
GLIBC_2.0 {
# functions used in inline functions or macros
- __mbrlen; __mbrtowc; __wcsto*_internal;
+ __mbrlen; __mbrtowc;
+ __wcstod_internal; __wcstof_internal; __wcstold_internal;
+ __wcstol_internal; __wcstoll_internal;
+ __wcstoul_internal; __wcstoull_internal;
# b*
btowc;
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 20 ++++++++++++++++++++
stdlib/Versions | 6 +++++-
wcsmbs/Versions | 5 ++++-
3 files changed, 29 insertions(+), 2 deletions(-)
hooks/post-receive
--
GNU C Library master sources