summaryrefslogtreecommitdiffstats
path: root/contrib/binutils/ld/emulparams/elf32ppc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/binutils/ld/emulparams/elf32ppc.sh')
-rw-r--r--contrib/binutils/ld/emulparams/elf32ppc.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/binutils/ld/emulparams/elf32ppc.sh b/contrib/binutils/ld/emulparams/elf32ppc.sh
index f88198f..778260b 100644
--- a/contrib/binutils/ld/emulparams/elf32ppc.sh
+++ b/contrib/binutils/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.
OpenPOWER on IntegriCloud