summaryrefslogtreecommitdiffstats
path: root/src/util/sortobjdump.pl
diff options
context:
space:
mode:
authorMichael Brown2008-10-10 03:07:04 +0200
committerMichael Brown2008-10-10 04:42:22 +0200
commitcdd619d11f5f33cd10a4e1ef79b3a10360c5f30d (patch)
tree03d301739ffff438257e79fa8a042396318a7633 /src/util/sortobjdump.pl
parent[util] Add optional debug messages to zbin.c (diff)
downloadipxe-cdd619d11f5f33cd10a4e1ef79b3a10360c5f30d.tar.gz
ipxe-cdd619d11f5f33cd10a4e1ef79b3a10360c5f30d.tar.xz
ipxe-cdd619d11f5f33cd10a4e1ef79b3a10360c5f30d.zip
[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.
Diffstat (limited to 'src/util/sortobjdump.pl')
-rwxr-xr-xsrc/util/sortobjdump.pl2
1 files changed, 1 insertions, 1 deletions
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]/ ) {