summaryrefslogtreecommitdiff
path: root/ld/emulparams/elf32ppc.sh
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2002-09-29 23:59:49 +0000
committerH.J. Lu <hjl.tools@gmail.com>2002-09-29 23:59:49 +0000
commitfdb9132d5f0a79036e88e12efad73c1c9a9524be (patch)
treef1adfa9250b2b439f1f33fae7e15787a4faeab5c /ld/emulparams/elf32ppc.sh
parentc2463a00f4cd57a64f60fa746410fb70f79f28fd (diff)
downloadbinutils-gdb-fdb9132d5f0a79036e88e12efad73c1c9a9524be.tar.gz
2002-09-29 H.J. Lu <hjl@gnu.org>
* ld/emulparams/elf32ppc.sh (OTHER_GOT_RELOC_SECTIONS): New. * ld/emulparams/elf32ppclinux.sh (OTHER_GOT_RELOC_SECTIONS): New.
Diffstat (limited to 'ld/emulparams/elf32ppc.sh')
-rw-r--r--ld/emulparams/elf32ppc.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/ld/emulparams/elf32ppc.sh b/ld/emulparams/elf32ppc.sh
index 5df2e0909a3..98c3f4e948e 100644
--- a/ld/emulparams/elf32ppc.sh
+++ b/ld/emulparams/elf32ppc.sh
@@ -17,6 +17,10 @@ OTHER_READWRITE_SECTIONS="
.got1 ${RELOCATING-0} : { *(.got1) }
.got2 ${RELOCATING-0} : { *(.got2) }
"
+OTHER_GOT_RELOC_SECTIONS="
+ .rela.got1 ${RELOCATING-0} : { *(.rela.got1) }
+ .rela.got2 ${RELOCATING-0} : { *(.rela.got2) }
+"
# Treat a host that matches the target with the possible exception of "64"
# in the name as if it were native.