From 317e5c401a32b4a95177ac5cfe2d6b27050aae4b Mon Sep 17 00:00:00 2001 From: Adam Nemet Date: Fri, 27 Jul 2007 00:48:30 +0000 Subject: [PATCH] * readelf.c (process_archive): Also skip Irix6-style archive symbol tables. --- binutils/ChangeLog | 5 +++++ binutils/readelf.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index f205ee6d821..5c1c60bb4c1 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2007-07-26 Adam Nemet + + * readelf.c (process_archive): Also skip Irix6-style archive symbol + tables. + 2007-07-24 Nick Clifton * readelf.c (NUM_ELEM): Remove redundant macro; replace references diff --git a/binutils/readelf.c b/binutils/readelf.c index 47a8f22698d..7e3058496c1 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. */ -- 2.30.2