diff options
Diffstat (limited to 'binutils/nm.c')
-rw-r--r-- | binutils/nm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/binutils/nm.c b/binutils/nm.c index 0bded07..e177d44 100644 --- a/binutils/nm.c +++ b/binutils/nm.c @@ -791,8 +791,8 @@ sort_symbols_by_size (bfd *abfd, bfd_boolean is_dynamic, void *minisyms, && sec == bfd_asymbol_section (next)) sz = valueof (next) - valueof (sym); else - sz = (bfd_get_section_vma (abfd, sec) - + bfd_section_size (abfd, sec) + sz = (bfd_section_vma (sec) + + bfd_section_size (sec) - valueof (sym)); } |