DWARF LTO debug sections vs. .stabstr
authorAlan Modra <amodra@gmail.com>
Fri, 19 Mar 2021 23:52:37 +0000 (10:22 +1030)
committerAlan Modra <amodra@gmail.com>
Sat, 20 Mar 2021 00:05:18 +0000 (10:35 +1030)
commit15407e7e0d42a46de5534df22eec933fc45178a3
tree82ce351900575c29f868e779a046e98d803ac73c
parent6536577167960d0d98ee5d0ccbb3ba70c2db2f9a
DWARF LTO debug sections vs. .stabstr

The exception for debug sections in clearing SEC_EXCLUDE when
relocatable was really for one specific debug section, so let's make
it do just that.

bfd/
PR 27590
* elf.c (_bfd_elf_make_section_from_shdr): Remove SHF_EXCLUDE
test for .gnu.debuglto*.
ld/
PR 27590
* ldlang.c (lang_gc_sections): Clear SEC_EXCLUDE when relocatable
for all sections except .stabstr.
bfd/ChangeLog
bfd/elf.c
ld/ChangeLog
ld/ldlang.c
This page took 0.034983 seconds and 4 git commands to generate.