+2008-06-20 Alan Modra <amodra@bigpond.net.au>
+
+ * elf32-spu.c (needs_ovl_stub): Correctly return nonovl_stub for
+ non-branch insns.
+
2008-06-20 Alan Modra <amodra@bigpond.net.au>
* elf32-spu.c (build_stub): Allow wraparound on stub branches.
section needs a stub. */
if (spu_elf_section_data (sym_sec->output_section)->u.o.ovl_index
!= spu_elf_section_data (input_section->output_section)->u.o.ovl_index)
- return ovl_stub;
+ ret = ovl_stub;
/* If this insn isn't a branch then we are possibly taking the
address of a function and passing it out somehow. */