aboutsummaryrefslogtreecommitdiff
path: root/gdb/contrib/dwarf-to-dwarf-assembler.py
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2025-10-21 19:51:09 +1030
committerAlan Modra <amodra@gmail.com>2025-10-21 22:03:00 +1030
commit7d169f96d5f372c76ee560355af3dcac4355418f (patch)
tree4d6d964531576b73975d7102a57f7ca550efa731 /gdb/contrib/dwarf-to-dwarf-assembler.py
parent43cd9e1dde7c1735f132f52df84bfedcad92dbcb (diff)
downloadbinutils-7d169f96d5f372c76ee560355af3dcac4355418f.zip
binutils-7d169f96d5f372c76ee560355af3dcac4355418f.tar.gz
binutils-7d169f96d5f372c76ee560355af3dcac4355418f.tar.bz2
Correct _bfd_elf_section_for_symbol
This function was added in commit 2f0c68f23bb3 as part of the compact EH support. By the comments it looks like to code was copied from bfd_elf_reloc_symbol_deleted_p without sufficient editing, and would only work for local syms due to the discarded_section test left in place for global syms. Fix that, and remove the discard param. * elf-bfd.h (_bfd_elf_section_for_symbol): Update prototype. * elf-eh-frame.c (_bfd_elf_parse_eh_frame_entry): Adjust. * elflink.c (_bfd_elf_section_for_symbol): Remove "discard". Don't test for discarded_section.
Diffstat (limited to 'gdb/contrib/dwarf-to-dwarf-assembler.py')
0 files changed, 0 insertions, 0 deletions