aboutsummaryrefslogtreecommitdiff
path: root/libctf
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2025-01-19 08:35:22 +1030
committerAlan Modra <amodra@gmail.com>2025-01-20 18:16:15 +1030
commit130bb6bbbdd4c32be067a0c9c2524b669bf6ae04 (patch)
treec882d39721b84943c7c0ea8c9921cd86aee69a3b /libctf
parentc99345db064e1bd645bc08db65174bae7ac20b0e (diff)
downloadbinutils-130bb6bbbdd4c32be067a0c9c2524b669bf6ae04.zip
binutils-130bb6bbbdd4c32be067a0c9c2524b669bf6ae04.tar.gz
binutils-130bb6bbbdd4c32be067a0c9c2524b669bf6ae04.tar.bz2
_bfd_elf_get_dynamic_symbols
This fixes an error path in _bfd_elf_get_dynamic_symbols, fixes the minimum size required when reading DT_HASH header, and tidies formatting in a few places. Nit-fixes all. Very likely we shouldn't be trying to mmap DT_DYNAMIC as it won't be large enough for the mmap size threshold. * elf.c (_bfd_elf_get_dynamic_symbols): Use _bfd_munmap_temporary in error return path rather than free. Corrent size passed to offset_from_vma when reading DT_HASH header. Formatting.
Diffstat (limited to 'libctf')
0 files changed, 0 insertions, 0 deletions