diff options
author | Alan Modra <modra@gmail.com> | 2011-10-10 17:21:05 +0400 |
---|---|---|
committer | Alan Modra <modra@gmail.com> | 2011-10-10 17:21:05 +0400 |
commit | 4fc8a5c90acb2501178613b04bca32492953884a (patch) | |
tree | 4509575175c83466ed90589f86e2d131f5791a27 /winsup/utils/ldd.cc | |
parent | f9a3814899346f092851ba90cd6d199efb9f78ff (diff) |
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 'winsup/utils/ldd.cc')
0 files changed, 0 insertions, 0 deletions