PowerPC64 --plt-align
authorAlan Modra <amodra@gmail.com>
Mon, 24 Nov 2014 02:11:33 +0000 (12:41 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 24 Nov 2014 02:38:10 +0000 (13:08 +1030)
commitec240384701a1f12fe569206408a6df8fca9bce4
tree4664f049e9f20e065174ea9da015a45970fa4649
parente609377629a12f6518eaf100c1983e23c80fecc1
PowerPC64 --plt-align

Alignment of plt stubs was broken, firstly because the option was
being dropped due to the alignment value not being set in the "params"
struct used in elf64-ppc.c, and secondly due to not calculating the
number of alignment boundary crossings correctly.

bfd/
* elf64-ppc.c (plt_stub_pad): Correct.
ld/
* ld.texinfo: Correct --plt-align documentation.
* emultempl/ppc64elf.em (plt_stub_align): Delete.  Use and set
params.plt_stub_align instead.
bfd/ChangeLog
bfd/elf64-ppc.c
ld/ChangeLog
ld/emultempl/ppc64elf.em
ld/ld.texinfo