bfd/
authorAlan Modra <amodra@gmail.com>
Sat, 1 Mar 2008 06:52:52 +0000 (06:52 +0000)
committerAlan Modra <amodra@gmail.com>
Sat, 1 Mar 2008 06:52:52 +0000 (06:52 +0000)
commit176a0d42d0d0a1e4957bb5bf3f5186dc6669a6e7
tree472e191c756f8766e3b69af362cb45592ab5c027
parentc03374d554a6d5f326a0d356a2e0918961bc1cfb
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