diff options
author | Alan Modra <amodra@gmail.com> | 2022-01-12 12:37:27 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2022-01-12 12:55:17 +1030 |
commit | b02db37812bef6e12772bfbddd004e50534eaed1 (patch) | |
tree | 775ed5bbacbb532774161bd54e4e34b89f7c2f71 /binutils/dwarf.c | |
parent | 295114a64ff50cc79e4510b8be935ebccda2900a (diff) | |
download | gdb-b02db37812bef6e12772bfbddd004e50534eaed1.zip gdb-b02db37812bef6e12772bfbddd004e50534eaed1.tar.gz gdb-b02db37812bef6e12772bfbddd004e50534eaed1.tar.bz2 |
Set SEC_ELF_REVERSE_COPY earlier
For the sake of DT_RELR.
bfd/
* elflink.c (elf_link_input_bfd): Don't set SEC_ELF_REVERSE_COPY
here. Move sanity checks to reverse copying code.
ld/
* ldlang.c (lang_add_section): Set SEC_ELF_REVERSE_COPY for
.ctors/.dtors in .init_array/.fini_array.
Diffstat (limited to 'binutils/dwarf.c')
0 files changed, 0 insertions, 0 deletions