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)
commit1b5a3c050c3df95bffd2e2beabbb3a976bc9201f
tree9a307458dd1eb0df4c3530c78e79951c118524dc
parented40c9cd0a13f508eeea4563adf583d12d1eacc7
* 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