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.21-328-g8e65ea4
- From: jsm28 at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 12 May 2015 17:10:20 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.21-328-g8e65ea4
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 8e65ea4dc05e32a2d461f9db8e570f2c0fcbecbc (commit)
from f13c2a8dff2329c6692a80176262ceaaf8a6f74e (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=8e65ea4dc05e32a2d461f9db8e570f2c0fcbecbc
commit 8e65ea4dc05e32a2d461f9db8e570f2c0fcbecbc
Author: Joseph Myers <joseph@codesourcery.com>
Date: Tue May 12 17:09:49 2015 +0000
Fix linknamespace test handling of architecture-specific st_other.
For mips16, some of the linknamespace tests were failing because
[MIPS16] annotations in readelf output were wrongly interpreted as
falling in the symbol index field, meaning symbol index values were
wrongly interpreted as symbol names and such names as 1 and 2 then
resulted in namespace test failures.
This patch fixes this by removing the annotations for such
architecture-specific st_other bits before splitting the readelf
output into fields. Tested for x86_64 and mips16.
* conform/linknamespace.pl (list_syms): Remove \[.*?\] before
splitting into fields.
diff --git a/ChangeLog b/ChangeLog
index d78c626..cd34a09 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-05-12 Joseph Myers <joseph@codesourcery.com>
+
+ * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
+ splitting into fields.
+
2015-05-12 Leonhard Holz <leonhard.holz@web.de>
* locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
diff --git a/conform/linknamespace.pl b/conform/linknamespace.pl
index b534746..8ea437d 100644
--- a/conform/linknamespace.pl
+++ b/conform/linknamespace.pl
@@ -68,6 +68,9 @@ sub list_syms {
next;
}
s/^\s*//;
+ # Architecture-specific st_other bits appear inside [] and disrupt
+ # the format of readelf output.
+ s/\[.*?\]//;
my (@fields) = split (/\s+/, $_);
if (@fields < 8) {
next;
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
conform/linknamespace.pl | 3 +++
2 files changed, 8 insertions(+), 0 deletions(-)
hooks/post-receive
--
GNU C Library master sources