This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: multiple GOT sections for powerpc64
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: binutils at sources dot redhat dot com
- Date: Mon, 28 Jul 2003 12:14:42 +0930
- Subject: Re: multiple GOT sections for powerpc64
- References: <20030709154033.GN27544@bubble.sa.bigpond.net.au>
Fixes a silly thinko in my 2003-07-10 change.
* emulparams/elf64ppc.sh (GOT): Don't merge .toc into .got for ld -r.
Index: ld/emulparams/elf64ppc.sh
===================================================================
RCS file: /cvs/src/src/ld/emulparams/elf64ppc.sh,v
retrieving revision 1.14
diff -u -p -r1.14 elf64ppc.sh
--- ld/emulparams/elf64ppc.sh 10 Jul 2003 00:38:18 -0000 1.14
+++ ld/emulparams/elf64ppc.sh 28 Jul 2003 02:40:35 -0000
@@ -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="
--
Alan Modra
IBM OzLabs - Linux Technology Centre