From 399266377f1195175482a59b1e362aabc33f7ab9 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 4 Apr 2005 14:43:58 +0000 Subject: [PATCH] PR binutils/813 Add a check to see if the section for the symbol is chosen using process_section_p. --- binutils/ChangeLog | 6 ++++++ binutils/objdump.c | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 74af374ff97..8a731ad0a54 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,9 @@ +2005-04-04 Ramana Radhakrishnan + + PR binutils/813 + * objdump.c (dump_symbols): Add a check to see if the section for + the symbol is chosen using process_section_p. + 2005-03-23 Nick Clifton * po/fr.po: Updated translation. diff --git a/binutils/objdump.c b/binutils/objdump.c index a3360899b4b..3a10d4c107e 100644 --- a/binutils/objdump.c +++ b/binutils/objdump.c @@ -2345,8 +2345,9 @@ dump_symbols (bfd *abfd ATTRIBUTE_UNUSED, bfd_boolean dynamic) printf (_("could not determine the type of symbol number %ld\n"), count); - else if (dump_special_syms - || !bfd_is_target_special_symbol (cur_bfd, *current)) + else if (process_section_p ((* current)->section) + && (dump_special_syms + || !bfd_is_target_special_symbol (cur_bfd, *current))) { const char *name = (*current)->name; -- 2.47.2