PowerPC64: align plt_branch stubs
authorAlan Modra <amodra@gmail.com>
Mon, 27 Jun 2022 08:47:18 +0000 (18:17 +0930)
committerAlan Modra <amodra@gmail.com>
Tue, 28 Jun 2022 03:32:26 +0000 (13:02 +0930)
commitf40bb390bbf2c4a7a4ff0a042ac9ab9168ab6956
tree37b9756be8a00ddfe472ed9ab64d48ad18a13749
parent0f0d9373a3697ea2e464584dcea5cb7242b7208e
PowerPC64: align plt_branch stubs

plt_branch stubs are similar to plt_call stubs in that they branch
via bctr.  Align them too.

bfd/
* elf64-ppc.c (ppc_size_one_stub): Align plt_branch stubs as for
plt_call stubs.
ld/
* testsuite/ld-powerpc/elfv2exe.d: Adjust for plt_branch changes.
* testsuite/ld-powerpc/notoc.d: Likewise.
* testsuite/ld-powerpc/notoc.wf: Likewise.
* testsuite/ld-powerpc/notoc3.d: Likewise.
* testsuite/ld-powerpc/pr23937.d: Likewise.
bfd/elf64-ppc.c
ld/testsuite/ld-powerpc/elfv2exe.d
ld/testsuite/ld-powerpc/notoc.d
ld/testsuite/ld-powerpc/notoc.wf
ld/testsuite/ld-powerpc/notoc3.d
ld/testsuite/ld-powerpc/pr23937.d