aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2009-02-04 02:43:17 +0000
committerAlan Modra <amodra@gmail.com>2009-02-04 02:43:17 +0000
commitdf636c05ba30aa408bf09354036308d3762f4864 (patch)
tree31448456fe82d6b374cbb3ab7782dfc8beeeec6f /ld
parent50e009621f6087907a916a576a33c031106f86fc (diff)
downloadfsf-binutils-gdb-df636c05ba30aa408bf09354036308d3762f4864.zip
fsf-binutils-gdb-df636c05ba30aa408bf09354036308d3762f4864.tar.gz
fsf-binutils-gdb-df636c05ba30aa408bf09354036308d3762f4864.tar.bz2
* emultempl/spuelf.em (spu_after_open): Don't combine .text.ia.*
during relocatable link.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/emultempl/spuelf.em3
2 files changed, 8 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 0b774a9..9aa4cb4 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2009-02-04 Alan Modra <amodra@bigpond.net.au>
+
+ * emultempl/spuelf.em (spu_after_open): Don't combine .text.ia.*
+ during relocatable link.
+
2009-02-03 Nick Clifton <nickc@redhat.com>
PR 9797
diff --git a/ld/emultempl/spuelf.em b/ld/emultempl/spuelf.em
index 7c98f71..376889a 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, &params);
+ if (link_info.relocatable)
+ lang_add_unique (".text.ia.*");
+
if (!link_info.relocatable
&& link_info.input_bfds != NULL
&& !spu_elf_create_sections (&link_info))