OSDN Git Service

* elf32-ppc.c (ppc_elf_install_value): Delete.
authoramodra <amodra>
Thu, 6 Nov 2003 14:30:11 +0000 (14:30 +0000)
committeramodra <amodra>
Thu, 6 Nov 2003 14:30:11 +0000 (14:30 +0000)
commitaecbac142c600cf948413f47820375ddafa70982
tree2211e5aefecb325a43e210d3d9af7291696e4836
parentfe1a3ad6090d818117db51d9710b543dc6dd1ba7
* 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