diff options
author | Alan Modra <amodra@bigpond.net.au> | 2011-10-10 13:21:05 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2011-10-10 13:21:05 +0000 |
commit | 8c158a0a9488aef0ae840303c75c113ddad23904 (patch) | |
tree | 9feb5393a8b4ae0f083fc7f48eb51f1edf5151d4 /COPYING.LIB | |
parent | d32da3905b7608e98952b5736561cfcd7bf70372 (diff) | |
download | binutils-redhat-8c158a0a9488aef0ae840303c75c113ddad23904.tar.gz |
include/elf/
* ppc64.h (R_PPC64_TOCSAVE): Add.
bfd/
* elf64-ppc.c (ppc64_elf_howto_table): Add R_PPC64_TOCSAVE entry.
(struct ppc_link_hash_table): Add tocsave_htab.
(struct tocsave_entry): New.
(tocsave_htab_hash, tocsave_htab_eq, tocsave_find): New functions.
(ppc64_elf_link_hash_table_create): Create tocsave_htab..
(ppc64_elf_link_hash_table_free): ..and delete it.
(build_plt_stub): Always put STD_R2_40R1 first.
(ppc64_elf_size_stubs): Check for R_PPC64_TOCSAVE following reloc
on plt call. If present add prologue nop location to tocsave_htab.
(ppc64_elf_relocate_section): Convert prologue nop to std. Skip
first insn of plt call stub when R_PPC64_TOCSAVE present.
Diffstat (limited to 'COPYING.LIB')
0 files changed, 0 insertions, 0 deletions