From 06f623a0da743d826ee979065f6a6f1fdf46a297 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Sun, 29 Sep 2002 23:59:49 +0000 Subject: [PATCH] 2002-09-29 H.J. Lu * ld/emulparams/elf32ppc.sh (OTHER_GOT_RELOC_SECTIONS): New. * ld/emulparams/elf32ppclinux.sh (OTHER_GOT_RELOC_SECTIONS): New. --- ld/ChangeLog | 5 +++++ ld/emulparams/elf32ppc.sh | 4 ++++ ld/emulparams/elf32ppclinux.sh | 3 +++ 3 files changed, 12 insertions(+) diff --git a/ld/ChangeLog b/ld/ChangeLog index 8bec409531..6bbe1effef 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2002-09-29 H.J. Lu + + * ld/emulparams/elf32ppc.sh (OTHER_GOT_RELOC_SECTIONS): New. + * ld/emulparams/elf32ppclinux.sh (OTHER_GOT_RELOC_SECTIONS): New. + 2002-09-25 Daniel Jacobowitz From "Anita Kulkarni" diff --git a/ld/emulparams/elf32ppc.sh b/ld/emulparams/elf32ppc.sh index 5df2e0909a..98c3f4e948 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. diff --git a/ld/emulparams/elf32ppclinux.sh b/ld/emulparams/elf32ppclinux.sh index 5ced00d1be..b2b834ab8c 100644 --- a/ld/emulparams/elf32ppclinux.sh +++ b/ld/emulparams/elf32ppclinux.sh @@ -6,3 +6,6 @@ test -z "${RELOCATING}" || OTHER_SECTIONS="/DISCARD/ : { *(.fixup) }" 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) }" -- 2.11.0