]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - ld/ChangeLog-2015
Reorder powerpc64 sections for -z relro
authorAlan Modra <amodra@gmail.com>
Tue, 20 Jan 2015 06:41:21 +0000 (17:11 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 20 Jan 2015 09:18:54 +0000 (19:48 +1030)
commit3e2b0f3116a46c8a9a6ffbcb5ae4847b6601467a
tree37d5ef4aa1fb3e6f3f47468be1f9ef21905b30f8
parent03d5b77300e7f62ba87fb4cd82d4aed83f9a3cd2
Reorder powerpc64 sections for -z relro

More sections can be read-only after relocation.  .opd is an obvious
candidate.

* emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Move .opd to..
(OTHER_RELRO_SECTIONS_2): ..here, new define.
* scripttempl/elf.sc: Add OTHER_RELRO_SECTIONS_2.
ld/ChangeLog
ld/emulparams/elf64ppc.sh
ld/scripttempl/elf.sc