]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - ld/ChangeLog-2015
Align .TOC. for PowerPC64
authorAlan Modra <amodra@gmail.com>
Tue, 21 Apr 2015 09:48:24 +0000 (19:18 +0930)
committerAlan Modra <amodra@gmail.com>
Thu, 23 Apr 2015 00:19:19 +0000 (09:49 +0930)
commita27e685fa0a6480bdb07e3be359558524cec89b7
tree770bec6f2f916fac7292a36d2ff3a9bc4c6648b2
parent19947f5fbb8f9153d9681ebc9981cc7bb056e741
Align .TOC. for PowerPC64

This change, with prerequisite 0e5fabeb, provides a toc base aligned
to 256 bytes rather than 8 bytes.  This is necessary for a minor gcc
optimisation, allowing use of d-form instructions to correctly access
toc-relative items larger than 8 bytes.

bfd/
* elf64-ppc.c (TOC_BASE_ALIGN): Define.
(ppc64_elf_next_toc_section): Align multi-got toc base.
(ppc64_elf_set_toc): Likewise initial toc base and .TOC. symbol.
ld/
* emulparams/elf64ppc.sh (GOT): Align.
ld/testsuite/
* ld-powerpc/ambiguousv1b.d: Update for aligned .got.
* ld-powerpc/defsym.d: Likewise.
* ld-powerpc/elfv2-2exe.d: Likewise.
* ld-powerpc/elfv2exe.d: Likewise.
* ld-powerpc/elfv2so.d: Likewise.
* ld-powerpc/relbrlt.d: Likewise.
* ld-powerpc/tls.g: Likewise.
* ld-powerpc/tlsexe.d: Likewise.
* ld-powerpc/tlsexe.g: Likewise.
* ld-powerpc/tlsexe.r: Likewise.
* ld-powerpc/tlsexetoc.d: Likewise.
* ld-powerpc/tlsexetoc.g: Likewise.
* ld-powerpc/tlsexetoc.r: Likewise.
* ld-powerpc/tlsso.d: Likewise.
* ld-powerpc/tlsso.g: Likewise.
* ld-powerpc/tlsso.r: Likewise.
* ld-powerpc/tlstoc.g: Likewise.
* ld-powerpc/tlstocso.d: Likewise.
* ld-powerpc/tlstocso.g: Likewise.
* ld-powerpc/tlstocso.r: Likewise.
* ld-powerpc/tocopt.d: Likewise.
* ld-powerpc/tocopt2.d: Likewise.
* ld-powerpc/tocopt3.d: Likewise.
* ld-powerpc/tocopt4.d: Likewise.
* ld-powerpc/tocopt5.d: Likewise.
30 files changed:
bfd/ChangeLog
bfd/elf64-ppc.c
ld/ChangeLog
ld/emulparams/elf64ppc.sh
ld/testsuite/ChangeLog
ld/testsuite/ld-powerpc/ambiguousv1b.d
ld/testsuite/ld-powerpc/defsym.d
ld/testsuite/ld-powerpc/elfv2-2exe.d
ld/testsuite/ld-powerpc/elfv2exe.d
ld/testsuite/ld-powerpc/elfv2so.d
ld/testsuite/ld-powerpc/relbrlt.d
ld/testsuite/ld-powerpc/tls.g
ld/testsuite/ld-powerpc/tlsexe.d
ld/testsuite/ld-powerpc/tlsexe.g
ld/testsuite/ld-powerpc/tlsexe.r
ld/testsuite/ld-powerpc/tlsexetoc.d
ld/testsuite/ld-powerpc/tlsexetoc.g
ld/testsuite/ld-powerpc/tlsexetoc.r
ld/testsuite/ld-powerpc/tlsso.d
ld/testsuite/ld-powerpc/tlsso.g
ld/testsuite/ld-powerpc/tlsso.r
ld/testsuite/ld-powerpc/tlstoc.g
ld/testsuite/ld-powerpc/tlstocso.d
ld/testsuite/ld-powerpc/tlstocso.g
ld/testsuite/ld-powerpc/tlstocso.r
ld/testsuite/ld-powerpc/tocopt.d
ld/testsuite/ld-powerpc/tocopt2.d
ld/testsuite/ld-powerpc/tocopt3.d
ld/testsuite/ld-powerpc/tocopt4.d
ld/testsuite/ld-powerpc/tocopt5.d