h8300's nm output have a lot of local symbols. ex) 00000000 N .Lframe0 00000013 N .LLST1 00000026 N .LLST2 00000039 N .LLST3 0000004c N .LLST4 Added new pattern " .L" to filter rule.
Showing the changes to scripts (1 of 1 file). Show all
Unified · Split
| @@ -41,4 +41,4 @@ · 40 unmodified lines | ||
| 41 | 41 | # so we just ignore them to let readprofile continue to work. |
| 42 | 42 | # (At least sparc64 has __crc_ in the middle). |
| 43 | 43 | |
| 44 | −$NM -n $1 | grep -v '\( [aNUw] \)\|\(__crc_\)\|\( \$[adt]\)' > $2 | |
| 44 | +$NM -n $1 | grep -v '\( [aNUw] \)\|\(__crc_\)\|\( \$[adt]\)\|\( .L\)' > $2 | |