From cdd619d11f5f33cd10a4e1ef79b3a10360c5f30d Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Fri, 10 Oct 2008 02:07:04 +0100 Subject: [PATCH] [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. --- src/util/sortobjdump.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/sortobjdump.pl b/src/util/sortobjdump.pl index 8ad7314b..1373a7ff 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]/ ) {