Bläddra i källkod

[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 16 år sedan
förälder
incheckning
cdd619d11f
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1
    1
      src/util/sortobjdump.pl

+ 1
- 1
src/util/sortobjdump.pl Visa fil

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

Laddar…
Avbryt
Spara