Also include data when listing externals in an .OBJ file

This commit is contained in:
Asanka Herath
2009-09-12 00:41:10 -04:00
committed by Love Hornquist Astrand
parent aa058a6a63
commit ef1501d081

View File

@@ -17,7 +17,7 @@ sub dump_symbols_for_file($)
while (<SP>) {
# 008 00000000 SECT3 notype () External | _encode_AccessDescription
/^[[:xdigit:]]{3,}\s[[:xdigit:]]{8,}\s(\w+)\s+\w*\s+\(\)\s+(\w+)\s+\|\s+(\w+)$/ && do {
/^[[:xdigit:]]{3,}\s[[:xdigit:]]{8,}\s(\w+)\s+\w*\s+(?:\(\)| )\s+(\w+)\s+\|\s+(\w+)$/ && do {
my ($section, $visibility, $symbol) = ($1, $2, $3);
if ($section ne "UNDEF" && $visibility eq "External") {