aboutsummaryrefslogtreecommitdiff
path: root/binutils/readelf.c
diff options
context:
space:
mode:
authorAdam Nemet <anemet@caviumnetworks.com>2007-07-27 00:48:30 +0000
committerAdam Nemet <anemet@caviumnetworks.com>2007-07-27 00:48:30 +0000
commit317e5c401a32b4a95177ac5cfe2d6b27050aae4b (patch)
treeedf9c941c5cde782fc6e668546190d788ae5b439 /binutils/readelf.c
parent4ccbd2de2406e9557b7e336a2705571a2cb4460d (diff)
downloadgdb-317e5c401a32b4a95177ac5cfe2d6b27050aae4b.zip
gdb-317e5c401a32b4a95177ac5cfe2d6b27050aae4b.tar.gz
gdb-317e5c401a32b4a95177ac5cfe2d6b27050aae4b.tar.bz2
* readelf.c (process_archive): Also skip Irix6-style archive symbol
tables.
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r--binutils/readelf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c
index 47a8f22..7e30584 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -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. */