diff --git a/ld/ChangeLog b/ld/ChangeLog index 0b774a92a2d..9aa4cb4a6c0 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2009-02-04 Alan Modra + + * emultempl/spuelf.em (spu_after_open): Don't combine .text.ia.* + during relocatable link. + 2009-02-03 Nick Clifton PR 9797 diff --git a/ld/emultempl/spuelf.em b/ld/emultempl/spuelf.em index 7c98f714531..376889a6d44 100644 --- a/ld/emultempl/spuelf.em +++ b/ld/emultempl/spuelf.em @@ -106,6 +106,9 @@ spu_after_open (void) params.emit_stub_syms |= link_info.emitrelocations; spu_elf_setup (&link_info, ¶ms); + if (link_info.relocatable) + lang_add_unique (".text.ia.*"); + if (!link_info.relocatable && link_info.input_bfds != NULL && !spu_elf_create_sections (&link_info))