Add a check to see if the section for the symbol is chosen using
process_section_p.
This commit is contained in:
parent
9494d73902
commit
661f7c357e
2 changed files with 10 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2005-04-04 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
|
||||||
|
|
||||||
|
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-04-01 H.J. Lu <hongjiu.lu@intel.com>
|
2005-04-01 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* NEWS: Mention new readelf options, "-N/--full-section-name"
|
* NEWS: Mention new readelf options, "-N/--full-section-name"
|
||||||
|
|
|
@ -2345,8 +2345,9 @@ dump_symbols (bfd *abfd ATTRIBUTE_UNUSED, bfd_boolean dynamic)
|
||||||
printf (_("could not determine the type of symbol number %ld\n"),
|
printf (_("could not determine the type of symbol number %ld\n"),
|
||||||
count);
|
count);
|
||||||
|
|
||||||
else if (dump_special_syms
|
else if (process_section_p ((* current)->section)
|
||||||
|| !bfd_is_target_special_symbol (cur_bfd, *current))
|
&& (dump_special_syms
|
||||||
|
|| !bfd_is_target_special_symbol (cur_bfd, *current)))
|
||||||
{
|
{
|
||||||
const char *name = (*current)->name;
|
const char *name = (*current)->name;
|
||||||
|
|
||||||
|
@ -2369,6 +2370,7 @@ dump_symbols (bfd *abfd ATTRIBUTE_UNUSED, bfd_boolean dynamic)
|
||||||
bfd_print_symbol_all);
|
bfd_print_symbol_all);
|
||||||
printf ("\n");
|
printf ("\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
current++;
|
current++;
|
||||||
}
|
}
|
||||||
printf ("\n\n");
|
printf ("\n\n");
|
||||||
|
|
Loading…
Reference in a new issue