aboutsummaryrefslogtreecommitdiff
path: root/ld/ChangeLog
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2015-01-20 21:11:37 +1030
committerAlan Modra <amodra@gmail.com>2015-01-20 21:46:07 +1030
commit5ad18f16abf3555582782a86cc1daa751ea8b9b8 (patch)
treecb1793c968131fa6c1a86c2462bb24d33f9fb137 /ld/ChangeLog
parentc05b575a8dfabab6af5d8586d1a5c0c67f819ac2 (diff)
downloadfsf-binutils-gdb-5ad18f16abf3555582782a86cc1daa751ea8b9b8.zip
fsf-binutils-gdb-5ad18f16abf3555582782a86cc1daa751ea8b9b8.tar.gz
fsf-binutils-gdb-5ad18f16abf3555582782a86cc1daa751ea8b9b8.tar.bz2
Reorder more powerpc64 sections again for -z relro
.toc1 is the second level TOC section used by gcc's -mminimal-toc. It too should be read-only after relocation. Also, the last patch description mentioned .sbss moving but didn't actually do that, so fix that problem. .tocbss (whatever that is) was before .sbss previously, so move that one too. * emulparams/elf64ppc.sh (OTHER_SDATA_SECTIONS): Use in place of.. (OTHER_BSS_SYMBOLS): ..this. (OTHER_PLT_RELOC_SECTIONS): Don't define. (OTHER_GOT_RELOC_SECTIONS): Add rela.toc1 and rela.tocbss. (OTHER_READWRITE_SECTIONS): Don't define. Move .toc1 to.. (OTHER_RELRO_SECTIONS_2): ..here. * scripttempl/elf.sc: Move SBSS too when DATA_SDATA.
Diffstat (limited to 'ld/ChangeLog')
-rw-r--r--ld/ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 4641ff0..5a97e32 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -7,6 +7,16 @@
2015-01-20 Alan Modra <amodra@gmail.com>
+ * emulparams/elf64ppc.sh (OTHER_SDATA_SECTIONS): Use in place of..
+ (OTHER_BSS_SYMBOLS): ..this.
+ (OTHER_PLT_RELOC_SECTIONS): Don't define.
+ (OTHER_GOT_RELOC_SECTIONS): Add rela.toc1 and rela.tocbss.
+ (OTHER_READWRITE_SECTIONS): Don't define. Move .toc1 to..
+ (OTHER_RELRO_SECTIONS_2): ..here.
+ * scripttempl/elf.sc: Move SBSS too when DATA_SDATA.
+
+2015-01-20 Alan Modra <amodra@gmail.com>
+
* emulparams/elf64ppc.sh (BSS_PLT): Don't define.
(OTHER_READWRITE_SECTIONS): Move .branch_lt to..
(OTHER_RELRO_SECTIONS_2): ..here.