diff options
author | Alan Modra <amodra@gmail.com> | 2016-12-28 17:04:15 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2016-12-28 22:10:38 +1030 |
commit | 9acc85a62eb76c270724bba15c889d2d05567b6a (patch) | |
tree | 2f98cec208e57b60f245c4eac6bb4b71274d73e8 /opcodes | |
parent | b733bcb7f58c42e0e0d94a3f266a4193030e5f3a (diff) | |
download | gdb-9acc85a62eb76c270724bba15c889d2d05567b6a.zip gdb-9acc85a62eb76c270724bba15c889d2d05567b6a.tar.gz gdb-9acc85a62eb76c270724bba15c889d2d05567b6a.tar.bz2 |
Use dynrelro for symbols in relro sections too
PR ld/20995
bfd/
* elflink.c (elf_link_add_object_symbols): Mark relro sections
in dynamic objects SEC_READONLY.
ld/
* testsuite/ld-elf/pr20995c.s: New test file.
* testsuite/ld-elf/pr20995-2so.r: Likewise.
* testsuite/ld-elf/elf.exp: Run it.
Diffstat (limited to 'opcodes')
0 files changed, 0 insertions, 0 deletions