Ignore "U " in nm -u output.

This commit is contained in:
Alexandre Julliard 2003-04-10 18:36:40 +00:00
parent 303d93680d
commit 6d1f9b037d
1 changed files with 3 additions and 1 deletions

View File

@ -661,7 +661,9 @@ void read_undef_symbols( char **argv )
char *p = buffer + strlen(buffer) - 1; char *p = buffer + strlen(buffer) - 1;
if (p < buffer) continue; if (p < buffer) continue;
if (*p == '\n') *p-- = 0; 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 ); add_undef_symbol( p );
} }
if ((err = pclose( f ))) fatal_error( "nm -u %s error %d\n", name, err ); if ((err = pclose( f ))) fatal_error( "nm -u %s error %d\n", name, err );