diff options
author | Alan Modra <amodra@bigpond.net.au> | 2011-07-14 03:28:20 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2011-07-14 03:28:20 +0000 |
commit | 76f1834ced7875368180dd40257d544e82773508 (patch) | |
tree | 71e10069630cd7b24a5ea932a7c5d5c45fc473d0 /ld/testsuite/ld-powerpc/tlsexetoc.g | |
parent | 72d2fb64b1b60826f972ea3885b1f4d280da3abd (diff) | |
download | binutils-redhat-76f1834ced7875368180dd40257d544e82773508.tar.gz |
bfd/
* elf64-ppc.c (struct ppc_link_hash_table): Add plt_static_chain.
(build_plt_stub): Add plt_static_chain param, don't load r11 if false.
(build_tls_get_addr_stub): Likewise.
(ppc_build_one_stub): Update calls to above.
(ppc_size_one_stub): Adjust stub size.
(ppc64_elf_size_stubs): Add plt_static_chain param, save to htab.
* elf64-ppc.h (ppc64_elf_size_stubs): Update prototype.
ld/
* emultempl/ppc64elf.em (plt_static_chain): New var.
(gld${EMULATION_NAME}_after_allocation): Pass to ppc64_elf_size_stubs.
(PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS,
PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Handle
--plt-static-chain and --no-plt-static-chain.
ld/testsuite/
* ld-powerpc/tlsexe.d, * ld-powerpc/tlsexe.g. *ld-powerpc/tlsexe.r,
* ld-powerpc/tlsexetoc.d, * ld-powerpc/tlsexetoc.g,
* ld-powerpc/tlsexetoc.r, * ld-powerpc/tlsso.d,
* ld-powerpc/tlstocso.d: Update for plt stub change.
Diffstat (limited to 'ld/testsuite/ld-powerpc/tlsexetoc.g')
-rw-r--r-- | ld/testsuite/ld-powerpc/tlsexetoc.g | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-powerpc/tlsexetoc.g b/ld/testsuite/ld-powerpc/tlsexetoc.g index 387e9cddca..50568865cf 100644 --- a/ld/testsuite/ld-powerpc/tlsexetoc.g +++ b/ld/testsuite/ld-powerpc/tlsexetoc.g @@ -7,7 +7,7 @@ .*: +file format elf64-powerpc Contents of section \.got: -.* 00000000 100185b0 00000000 00000000 .* +.* 00000000 100185a8 00000000 00000000 .* .* 00000000 00000000 00000000 00000000 .* .* 00000000 00000000 00000000 00000001 .* .* 00000000 00000000 00000000 00000001 .* |