diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2002-09-29 23:59:49 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2002-09-29 23:59:49 +0000 |
commit | fdb9132d5f0a79036e88e12efad73c1c9a9524be (patch) | |
tree | f1adfa9250b2b439f1f33fae7e15787a4faeab5c /ld/emulparams | |
parent | c2463a00f4cd57a64f60fa746410fb70f79f28fd (diff) | |
download | gdb-fdb9132d5f0a79036e88e12efad73c1c9a9524be.zip gdb-fdb9132d5f0a79036e88e12efad73c1c9a9524be.tar.gz gdb-fdb9132d5f0a79036e88e12efad73c1c9a9524be.tar.bz2 |
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.
Diffstat (limited to 'ld/emulparams')
-rw-r--r-- | ld/emulparams/elf32ppc.sh | 4 | ||||
-rw-r--r-- | ld/emulparams/elf32ppclinux.sh | 3 |
2 files changed, 7 insertions, 0 deletions
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) }" |