Support ELFv2 stack frame.
authorAlan Modra <amodra@gmail.com>
Tue, 29 Oct 2013 05:47:22 +0000 (16:17 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 30 Oct 2013 03:11:57 +0000 (13:41 +1030)
commita078d95abc554b6c2572fcab5550591639b1c871
tree1ebdf870a46b96a9e581da9e21aa1f7dd1f0813a
parentb9e5796b0d6ebc355e4a6d06791b7366939d10f2
Support ELFv2 stack frame.

The toc pointer save slot changes on ELFv2 from 40(1) to 24(1).

* elf64-ppc.c (STK_LR, STK_TOC, STK_LINKER): Define.
(savegpr0_tail, restgpr0_tail, savefpr0_tail, restfpr0_tail)
build_plt_stub, build_tls_get_addr_stub, ppc_build_one_stub,
ppc64_elf_relocate_section): Use new defines.
bfd/ChangeLog
bfd/elf64-ppc.c