bfd/sid-snapshot-20080301
commit8f08f8bf613cc36e4aae6aa45e9a490cfa4d63ca
authorAlan Modra <amodra@bigpond.net.au>
Sat, 1 Mar 2008 06:52:52 +0000 (1 06:52 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Sat, 1 Mar 2008 06:52:52 +0000 (1 06:52 +0000)
tree9bd9506cafd92588087e582ea3088881819cdeaa
parent00565c07f97652ad3e43d7b38630404e04a0cea6
bfd/
* elf64-ppc.c (build_plt_stub): Add relocs on plt call stubs
if emitrelocations.
(get_relocs): New function, split out from..
(ppc_build_one_stub): ..here.  Add relocs on plt_branch stubs if
emitrelocations.  Remove indx temp.
(ppc_size_one_stub): Count new stub relocs.
(ppc64_elf_size_stubs): Count new glink reloc.
(ppc64_elf_build_stubs): Emit glink reloc if emitrelocations.
(ppc64_elf_finish_dynamic_sections): Output glink relocs.
* elf32-ppc.c (ppc_elf_finish_dynamic_sections): Describe non-pic
glink code.
ld/testsuite/
* ld-powerpc/relbrlt.d: Update.  Also check .branch_lt section.
bfd/ChangeLog
bfd/elf32-ppc.c
bfd/elf64-ppc.c
ld/testsuite/ChangeLog
ld/testsuite/ld-powerpc/relbrlt.d