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.
This commit is contained in:
H.J. Lu 2002-09-29 23:59:49 +00:00
parent c2463a00f4
commit fdb9132d5f
3 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,8 @@
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.
2002-09-25 Daniel Jacobowitz <drow@mvista.com> 2002-09-25 Daniel Jacobowitz <drow@mvista.com>
From "Anita Kulkarni" <AnitaK@kpit.com> From "Anita Kulkarni" <AnitaK@kpit.com>

View File

@ -17,6 +17,10 @@ OTHER_READWRITE_SECTIONS="
.got1 ${RELOCATING-0} : { *(.got1) } .got1 ${RELOCATING-0} : { *(.got1) }
.got2 ${RELOCATING-0} : { *(.got2) } .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" # Treat a host that matches the target with the possible exception of "64"
# in the name as if it were native. # in the name as if it were native.

View File

@ -6,3 +6,6 @@ test -z "${RELOCATING}" || OTHER_SECTIONS="/DISCARD/ : { *(.fixup) }"
OTHER_READWRITE_SECTIONS=" OTHER_READWRITE_SECTIONS="
.got1 ${RELOCATING-0} : { *(.got1) } .got1 ${RELOCATING-0} : { *(.got1) }
.got2 ${RELOCATING-0} : { *(.got2) }" .got2 ${RELOCATING-0} : { *(.got2) }"
OTHER_GOT_RELOC_SECTIONS="
.rela.got1 ${RELOCATING-0} : { *(.rela.got1) }
.rela.got2 ${RELOCATING-0} : { *(.rela.got2) }"