* elf32-spu.c (process_stubs, spu_elf_relocate_section): Move
authorAlan Modra <amodra@gmail.com>
Fri, 14 Mar 2008 04:42:16 +0000 (04:42 +0000)
committerAlan Modra <amodra@gmail.com>
Fri, 14 Mar 2008 04:42:16 +0000 (04:42 +0000)
commitfdba2fcde13fa4ef8f1a8cbba47a0a928c174bf6
tree828d2372b066d8cc5b03842e58d47fff334ca1c8
parentde73182cf00292a070af1ffe9c4b6b6f1069fc6c
* elf32-spu.c (process_stubs, spu_elf_relocate_section): Move
common code to..
(maybe_needs_stub): ..here, a new function that also omits stubs
for .eh_frame, and..
(needs_ovl_stub): ..here.  Create stubs for labels in code section
referenced by switch jump table.
(spu_elf_find_overlays): Set htab->ovly_load and htab->ovly_return.
(enum _insn_type): Delete.
(enum _stub_type): New.
(count_stub, build_stub): Adjust.
(allocate_spuear_stubs, build_spuear_stubs): Adjust.
bfd/ChangeLog
bfd/elf32-spu.c