diff options
author | Alan Modra <amodra@gmail.com> | 2022-09-21 19:34:08 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2022-09-21 22:10:14 +0930 |
commit | f9a59eea78428159a9522bd64ec354a872f1dc31 (patch) | |
tree | 68c6e1c900ed8a8d1a538a27e7368f3cd3ddee29 /gdb/testsuite/gdb.python/source2.py | |
parent | acab2a6872db8e6ebab3e91bc22a4df384d1c8ed (diff) | |
download | binutils-f9a59eea78428159a9522bd64ec354a872f1dc31.zip binutils-f9a59eea78428159a9522bd64ec354a872f1dc31.tar.gz binutils-f9a59eea78428159a9522bd64ec354a872f1dc31.tar.bz2 |
PR29566, objdump -p considers an empty .gnu.version_r invalid
Allow and ignore an empty section.
PR 29566
* elf.c (bfd_section_from_shdr): Don't set elf_dynverdef or
elf_dynverref for empty sections.
(_bfd_elf_slurp_version_tables): Remove now redundant tests.
Diffstat (limited to 'gdb/testsuite/gdb.python/source2.py')
0 files changed, 0 insertions, 0 deletions