Ignore "U " in nm -u output.
This commit is contained in:
parent
303d93680d
commit
6d1f9b037d
|
@ -661,7 +661,9 @@ void read_undef_symbols( char **argv )
|
|||
char *p = buffer + strlen(buffer) - 1;
|
||||
if (p < buffer) continue;
|
||||
if (*p == '\n') *p-- = 0;
|
||||
p = buffer; while (*p == ' ') p++;
|
||||
p = buffer;
|
||||
while (*p == ' ') p++;
|
||||
if (p[0] == 'U' && p[1] == ' ' && p[2]) p += 2;
|
||||
add_undef_symbol( p );
|
||||
}
|
||||
if ((err = pclose( f ))) fatal_error( "nm -u %s error %d\n", name, err );
|
||||
|
|
Loading…
Reference in New Issue