From: Nick Clifton Date: Mon, 4 Apr 2005 14:43:58 +0000 (+0000) Subject: PR binutils/813 X-Git-Tag: binutils-2_16~68 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=399266377f1195175482a59b1e362aabc33f7ab9;p=thirdparty%2Fbinutils-gdb.git PR binutils/813 Add a check to see if the section for the symbol is chosen using process_section_p. --- 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;