This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: multiple GOT sections for powerpc64


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]