diff options
Diffstat (limited to 'binutils/nm.c')
-rw-r--r-- | binutils/nm.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/binutils/nm.c b/binutils/nm.c index ad38e27..5c32520 100644 --- a/binutils/nm.c +++ b/binutils/nm.c @@ -951,19 +951,12 @@ print_size_symbols (bfd *abfd, bfd_boolean is_dynamic, for (; from < fromend; from++) { asymbol *sym; - bfd_vma ssize; sym = bfd_minisymbol_to_symbol (abfd, is_dynamic, from->minisym, store); if (sym == NULL) bfd_fatal (bfd_get_filename (abfd)); - /* For elf we have already computed the correct symbol size. */ - if (bfd_get_flavour (abfd) == bfd_target_elf_flavour) - ssize = from->size; - else - ssize = from->size - bfd_section_vma (abfd, bfd_get_section (sym)); - - print_symbol (abfd, sym, ssize, archive_bfd); + print_symbol (abfd, sym, from->size, archive_bfd); } } |