OSDN Git Service

* elf32-spu.c (process_stubs, spu_elf_relocate_section): Move
authorAlan Modra <amodra@bigpond.net.au>
Fri, 14 Mar 2008 04:42:16 +0000 (04:42 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Fri, 14 Mar 2008 04:42:16 +0000 (04:42 +0000)
commit3da7b8eaf84c2f74cf25eb5990b5a0fa5c26b391
treed0c17a74824e159d8aa2dc2a45dbb3fff2153924
parent4bb3e2eade9f4a7834bbcb9ab4a8d700186c855f
* 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