* elf32-ppc.c (ppc_elf_install_value): Delete.
commit875630319b146db0adab794332db6c4bee90fabb
authorAlan Modra <amodra@bigpond.net.au>
Thu, 6 Nov 2003 14:30:11 +0000 (6 14:30 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Thu, 6 Nov 2003 14:30:11 +0000 (6 14:30 +0000)
treeea90c43aa43938062c23f4bdda269c801e328699
parent83a5133258592e8ffa9f5915746aac8e781dcd05
* elf32-ppc.c (ppc_elf_install_value): Delete.
(shared_stub_entry, stub_entry): Make them arrays of ints.
Remove initial branch.
(ppc_elf_relax_section): Write one branch around all trampolines
instead.  Correct bogus R_PPC_PLTREL24 handling.  Correct
branch range check.  Only use shared_stub_entry when shared.
Test that branches can reach stubs.  Write trampolines out at
end so that just one realloc is used.  Handle little-endian
mode.  Move relevant code from ppc_elf_install_value to here.
(ppc_elf_relocate_section): Move code handling RELAX32 from
ppc_elf_install_value to here.
bfd/ChangeLog
bfd/elf32-ppc.c