Browse Source

[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.
tags/v0.9.6
Michael Brown 15 years ago
parent
commit
cdd619d11f
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/util/sortobjdump.pl

+ 1
- 1
src/util/sortobjdump.pl View File

@@ -8,7 +8,7 @@ use warnings;
8 8
 # linker maps produced by "make bin/%.map" by also showing the values
9 9
 # of all non-global symbols.
10 10
 
11
-my %section_idx = ( "*ABS*" => "." );
11
+my %section_idx = ( "*ABS*" => ".", "*UND*" => "_" );
12 12
 my %lines;
13 13
 while ( <> ) {
14 14
   if ( /^\s+(\d+)\s+([\.\*]\S+)\s+[0-9a-fA-F]+\s+[0-9a-fA-F]/ ) {

Loading…
Cancel
Save