aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2009-12-09 01:26:03 +0000
committerAlan Modra <amodra@gmail.com>2009-12-09 01:26:03 +0000
commit829da89821d7f0b7663b8314128fa06878d228e0 (patch)
treeb25d4beb7236a7cb0eae14b9aa729c06f1522cec /ld/scripttempl
parent76c239510fded6592d2295294c2be03e497f2df7 (diff)
downloadgdb-829da89821d7f0b7663b8314128fa06878d228e0.zip
gdb-829da89821d7f0b7663b8314128fa06878d228e0.tar.gz
gdb-829da89821d7f0b7663b8314128fa06878d228e0.tar.bz2
PR ld/11012
* emulparams/elf64ppc.sh (OTHER_GOT_RELOC_SECTIONS): Move .rela.opd .. (INITIAL_RELOC_SECTIONS): .. to here. New define. * scripttempl/elf.sc: Expand INITIAL_RELOC_SECTIONS.
Diffstat (limited to 'ld/scripttempl')
-rw-r--r--ld/scripttempl/elf.sc1
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/scripttempl/elf.sc b/ld/scripttempl/elf.sc
index 886f578..5378afa 100644
--- a/ld/scripttempl/elf.sc
+++ b/ld/scripttempl/elf.sc
@@ -311,6 +311,7 @@ else
COMBRELOCCAT="cat > $COMBRELOC"
fi
eval $COMBRELOCCAT <<EOF
+ ${INITIAL_RELOC_SECTIONS}
.rel.init ${RELOCATING-0} : { *(.rel.init) }
.rela.init ${RELOCATING-0} : { *(.rela.init) }
.rel.text ${RELOCATING-0} : { *(.rel.text${RELOCATING+ .rel.text.* .rel.gnu.linkonce.t.*}) }