aboutsummaryrefslogtreecommitdiff
path: root/binutils/rddbg.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2024-03-28 20:33:32 +1030
committerAlan Modra <amodra@gmail.com>2024-04-02 10:32:04 +1030
commit3c6c32951e292a51ede70b8087bb0308d7dbc4fc (patch)
tree1c078c47c7428cfed50d52e6c785c6a9b6247ef0 /binutils/rddbg.c
parentaf969b14aedcc0ae27dcefab4327ff2d153dec8b (diff)
downloadgdb-3c6c32951e292a51ede70b8087bb0308d7dbc4fc.zip
gdb-3c6c32951e292a51ede70b8087bb0308d7dbc4fc.tar.gz
gdb-3c6c32951e292a51ede70b8087bb0308d7dbc4fc.tar.bz2
PR 30569, delete _bfd_mips_elf_early_size_sections
PR30569 was triggered by a patch of mine 6540edd52cc0 moving the call to always_size_sections in bfd_elf_size_dynamic_sections earlier, made to support the x86 DT_RELR implementation. This broke mips16 code handling stubs when --export-dynamic is passed to the linker, because numerous symbols then became dynamic after always_size_sections. The mips backend fiddles with symbols in its always_size_sections. Maciej in 902e9fc76a0e had moved the call to always_size_sections to after the export-dynamic code. Prior to that, Nathan in 04c3a75556c0 moved it before the exec stack code, back to the start of bfd_elf_size_dynamic_sections which was where Ian put it originally in ff12f303355b. So the call has moved around a little. I'm leaving it where it is, and instead calling mips_elf_check_symbols from late_size_sections (the old size_dynamic_sections) which is now always called. In fact, the whole of _bfd_mips_elf_early_size_sections can be merged into _bfd_mips_elf_late_size_sections.
Diffstat (limited to 'binutils/rddbg.c')
0 files changed, 0 insertions, 0 deletions