소스 검색

[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 년 전
부모
커밋
cdd619d11f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      src/util/sortobjdump.pl

+ 1
- 1
src/util/sortobjdump.pl 파일 보기

@@ -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…
취소
저장