diff options
author | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-04-15 07:48:59 +0000 |
---|---|---|
committer | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-04-15 07:48:59 +0000 |
commit | 8409ef9c33e98c76ce593dd0248748a189281a2e (patch) | |
tree | 96593fe22e2eb780809a62abe5e71b23b2808261 /libstdc++-v3/scripts | |
parent | 6202f89224beb115f1da40cddaa11f0749014bef (diff) |
Ignore elfdump warnings in scripts/extract_symvers.pl
* scripts/extract_symvers.pl: Ignore elfdump error output.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222117 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/scripts')
-rw-r--r-- | libstdc++-v3/scripts/extract_symvers.pl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libstdc++-v3/scripts/extract_symvers.pl b/libstdc++-v3/scripts/extract_symvers.pl index dadf1802ae1..9d8be3a2c7d 100644 --- a/libstdc++-v3/scripts/extract_symvers.pl +++ b/libstdc++-v3/scripts/extract_symvers.pl @@ -82,7 +82,10 @@ while (<PVS>) { close PVS or die "pvs error"; # Only look at .dynsym table, like readelf in extract_symvers. -open ELFDUMP, "/usr/ccs/bin/elfdump -s -N .dynsym $lib |" or die $!; +# Ignore error output to avoid getting confused by +# .gnu.version_r: zero sh_entsize information, expected 0x1 +# warning with Solaris 11 elfdump on gld-produced shared objects. +open ELFDUMP, "/usr/ccs/bin/elfdump -s -N .dynsym $lib 2>/dev/null |" or die $!; while (<ELFDUMP>) { chomp; |