* readelf.c (process_archive): Also skip Irix6-style archive symbol

tables.
This commit is contained in:
Adam Nemet 2007-07-27 00:48:30 +00:00
parent 4ccbd2de24
commit 317e5c401a
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-07-26 Adam Nemet <anemet@caviumnetworks.com>
* readelf.c (process_archive): Also skip Irix6-style archive symbol
tables.
2007-07-24 Nick Clifton <nickc@redhat.com>
* readelf.c (NUM_ELEM): Remove redundant macro; replace references

View File

@ -9693,7 +9693,8 @@ process_archive (char *file_name, FILE *file)
return 1;
}
if (const_strneq (arhdr.ar_name, "/ "))
if (const_strneq (arhdr.ar_name, "/ ")
|| const_strneq (arhdr.ar_name, "/SYM64/ "))
{
/* This is the archive symbol table. Skip it.
FIXME: We should have an option to dump it. */