diff options
author | Alan Modra <amodra@gmail.com> | 2003-07-28 02:42:37 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2003-07-28 02:42:37 +0000 |
commit | c86b6a7b5eabc60f7a4d99ce6ec30d48f5c71364 (patch) | |
tree | 18045fc5824b88ad2265efe15357db9c31de25fb /ld/emulparams | |
parent | 4ee6625b5326ffb404d88b0befc9d8e4633024ed (diff) | |
download | gdb-c86b6a7b5eabc60f7a4d99ce6ec30d48f5c71364.zip gdb-c86b6a7b5eabc60f7a4d99ce6ec30d48f5c71364.tar.gz gdb-c86b6a7b5eabc60f7a4d99ce6ec30d48f5c71364.tar.bz2 |
* emulparams/elf64ppc.sh (GOT): Don't merge .toc into .got for ld -r.
Diffstat (limited to 'ld/emulparams')
-rw-r--r-- | ld/emulparams/elf64ppc.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ld/emulparams/elf64ppc.sh b/ld/emulparams/elf64ppc.sh index e1d9e1d..fe58c74 100644 --- a/ld/emulparams/elf64ppc.sh +++ b/ld/emulparams/elf64ppc.sh @@ -19,7 +19,8 @@ OTHER_BSS_SYMBOLS=" OTHER_PLT_RELOC_SECTIONS=" .rela.tocbss ${RELOCATING-0} : { *(.rela.tocbss) }" GOT=" - .got ${RELOCATING-0}${RELOCATING+ALIGN(8)} : { *(.got .toc) }" + .got ${RELOCATING-0}${RELOCATING+ALIGN(8)} : { *(.got${RELOCATING+ .toc}) } + ${RELOCATING-.toc 0 : { *(.toc) }}" OTHER_GOT_RELOC_SECTIONS=" .rela.toc ${RELOCATING-0} : { *(.rela.toc) }" OTHER_READWRITE_SECTIONS=" |