* readelf.c (process_archive): Also skip Irix6-style archive symbol
authorAdam Nemet <anemet@caviumnetworks.com>
Fri, 27 Jul 2007 00:48:30 +0000 (00:48 +0000)
committerAdam Nemet <anemet@caviumnetworks.com>
Fri, 27 Jul 2007 00:48:30 +0000 (00:48 +0000)
tables.

binutils/ChangeLog
binutils/readelf.c

index f205ee6d821f9a0baafc3823ba765b74607dd3a3..5c1c60bb4c1140378dd58c0d9f51748c3eab5dc0 100644 (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
index 47a8f22698dabc02d1c894b2194042a559661bdc..7e3058496c166b1039a3f4fd15643009c326550a 100644 (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.  */