Ignore elfdump warnings in scripts/extract_symvers.pl

* scripts/extract_symvers.pl: Ignore elfdump error output.

From-SVN: r222118
This commit is contained in:
Rainer Orth 2015-04-15 07:54:50 +00:00 committed by Rainer Orth
parent b20c6f3a3e
commit 54c2586f92
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2015-04-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* scripts/extract_symvers.pl: Ignore elfdump error output.
2015-04-14 Hans-Peter Nilsson <hp@axis.com> 2015-04-14 Hans-Peter Nilsson <hp@axis.com>
* testsuite/29_atomics/atomic/62259.cc: Assert atomic * testsuite/29_atomics/atomic/62259.cc: Assert atomic

View File

@ -82,7 +82,10 @@ while (<PVS>) {
close PVS or die "pvs error"; close PVS or die "pvs error";
# Only look at .dynsym table, like readelf in extract_symvers. # 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>) { while (<ELFDUMP>) {
chomp; chomp;