瀏覽代碼

[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 年之前
父節點
當前提交
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…
取消
儲存