OSDN Git Service

* elf32-spu.c (process_stubs, spu_elf_relocate_section): Move
authoramodra <amodra>
Fri, 14 Mar 2008 04:42:15 +0000 (04:42 +0000)
committeramodra <amodra>
Fri, 14 Mar 2008 04:42:15 +0000 (04:42 +0000)
commitbccc1fd08ed70406eb38847d7aac4717c4ea975c
treebea642facfc748f5c32249147ee56ec6bf206d83
parent89d0e89b698b5becf6e6be717bde141557a075d8
* 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