From: H.J. Lu Date: Sun, 29 Sep 2002 23:59:49 +0000 (+0000) Subject: 2002-09-29 H.J. Lu X-Git-Tag: drow-cplus-branchpoint~90 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fdb9132d5f0a79036e88e12efad73c1c9a9524be;p=thirdparty%2Fbinutils-gdb.git 2002-09-29 H.J. Lu * ld/emulparams/elf32ppc.sh (OTHER_GOT_RELOC_SECTIONS): New. * ld/emulparams/elf32ppclinux.sh (OTHER_GOT_RELOC_SECTIONS): New. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 8bec4095312..6bbe1effefc 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 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. diff --git a/ld/emulparams/elf32ppclinux.sh b/ld/emulparams/elf32ppclinux.sh index 5ced00d1bec..b2b834ab8cb 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) }"