From fdb9132d5f0a79036e88e12efad73c1c9a9524be Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Sun, 29 Sep 2002 23:59:49 +0000 Subject: 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(+) (limited to 'ld') diff --git a/ld/ChangeLog b/ld/ChangeLog index 8bec409..6bbe1ef 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 5df2e09..98c3f4e 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 5ced00d..b2b834a 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) }" -- cgit v1.1