2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-11-22 17:41:55 +00:00

[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.
This commit is contained in:
Michael Brown 2008-10-10 02:07:04 +01:00
parent 96ea558e98
commit cdd619d11f

View File

@ -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]/ ) {