From: Michael Brown Date: Fri, 10 Oct 2008 01:07:04 +0000 (+0100) Subject: [util] Don't die on undefined symbols in sortobjdump.pl X-Git-Tag: v0.9.6~107 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdd619d11f5f33cd10a4e1ef79b3a10360c5f30d;p=thirdparty%2Fipxe.git [util] Don't die on undefined symbols in sortobjdump.pl Undefined symbols shouldn't reach sortobjdump.pl, but if they do then it is not a helpful place to report the error. --- diff --git a/src/util/sortobjdump.pl b/src/util/sortobjdump.pl index 8ad7314b8..1373a7ffd 100755 --- a/src/util/sortobjdump.pl +++ b/src/util/sortobjdump.pl @@ -8,7 +8,7 @@ use warnings; # linker maps produced by "make bin/%.map" by also showing the values # of all non-global symbols. -my %section_idx = ( "*ABS*" => "." ); +my %section_idx = ( "*ABS*" => ".", "*UND*" => "_" ); my %lines; while ( <> ) { if ( /^\s+(\d+)\s+([\.\*]\S+)\s+[0-9a-fA-F]+\s+[0-9a-fA-F]/ ) {