aboutsummaryrefslogtreecommitdiff
path: root/binutils
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
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')
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/readelf.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index f205ee6..5c1c60b 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -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
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. */