summaryrefslogtreecommitdiffstats
path: root/winsup/utils/regtool.cc
diff options
context:
space:
mode:
authorAlan Modra <modra@gmail.com>2011-10-10 13:21:05 +0000
committerAlan Modra <modra@gmail.com>2011-10-10 13:21:05 +0000
commit4fc8a5c90acb2501178613b04bca32492953884a (patch)
tree4509575175c83466ed90589f86e2d131f5791a27 /winsup/utils/regtool.cc
parentf9a3814899346f092851ba90cd6d199efb9f78ff (diff)
downloadcygnal-4fc8a5c90acb2501178613b04bca32492953884a.tar.gz
cygnal-4fc8a5c90acb2501178613b04bca32492953884a.tar.bz2
cygnal-4fc8a5c90acb2501178613b04bca32492953884a.zip
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/regtool.cc')
0 files changed, 0 insertions, 0 deletions