aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl
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/emultempl
parent50e009621f6087907a916a576a33c031106f86fc (diff)
downloadgdb-df636c05ba30aa408bf09354036308d3762f4864.zip
gdb-df636c05ba30aa408bf09354036308d3762f4864.tar.gz
gdb-df636c05ba30aa408bf09354036308d3762f4864.tar.bz2
* emultempl/spuelf.em (spu_after_open): Don't combine .text.ia.*
during relocatable link.
Diffstat (limited to 'ld/emultempl')
-rw-r--r--ld/emultempl/spuelf.em3
1 files changed, 3 insertions, 0 deletions
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))