type = $3;
size = $5;
sub(/^0*/, "", size);
- size = " 0x" size;
+ if (size == "") {
+ size = " 0x0";
+ } else {
+ size = " 0x" size;
+ }
version = $6;
symbol = $NF;
gsub(/[()]/, "", version);
else if ($4 == "*ABS*") {
next;
}
+ else if (type == "D") {
+ # Accept unchanged.
+ }
else if (type == "DO") {
type = "D";
}
size = "";
}
else {
- print "ERROR: Unable to handle this type of symbol."
+ print "ERROR: Unable to handle this type of symbol:", $0
exit 1
}