aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-lang.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2025-04-07 12:45:30 +0200
committerJan Beulich <jbeulich@suse.com>2025-04-07 12:45:30 +0200
commite71f5f09ce75ed54c75fd5a7ca47f0452081e26e (patch)
tree69867a0a1db28a6518a634e7af818837d7a93964 /gdb/ada-lang.c
parent6fe5e01b131716e3000edb5c6b4a1d1a26dd144c (diff)
downloadbinutils-e71f5f09ce75ed54c75fd5a7ca47f0452081e26e.zip
binutils-e71f5f09ce75ed54c75fd5a7ca47f0452081e26e.tar.gz
binutils-e71f5f09ce75ed54c75fd5a7ca47f0452081e26e.tar.bz2
nm: fall back to heuristic when ELF symbol has zero size
Size being set for a symbol isn't a strict requirement in ELF. For ones not having their size set, fall back to the same logic as used for non- ELF, non-COFF symbols. While there switch to using elf_symbol_from() instead of kind of open- coding it.
Diffstat (limited to 'gdb/ada-lang.c')
0 files changed, 0 insertions, 0 deletions