OSDN Git Service

* 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 f205ee6..5c1c60b 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 47a8f22..7e30584 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.  */