Commit eea6e989 by Rainer Orth Committed by Rainer Orth

Ignore elfdump warnings in scripts/extract_symvers.pl

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

From-SVN: r222117
parent e4614c18
2015-04-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* scripts/extract_symvers.pl: Ignore elfdump error output.
2015-04-14 Marc Glisse <marc.glisse@inria.fr>
PR libstdc++/61347
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment