From df636c05ba30aa408bf09354036308d3762f4864 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 4 Feb 2009 02:43:17 +0000 Subject: [PATCH] * emultempl/spuelf.em (spu_after_open): Don't combine .text.ia.* during relocatable link. --- ld/ChangeLog | 5 +++++ ld/emultempl/spuelf.em | 3 +++ 2 files changed, 8 insertions(+) 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)) -- 2.30.2