From: Alan Modra Date: Mon, 28 Jul 2003 02:42:37 +0000 (+0000) Subject: * emulparams/elf64ppc.sh (GOT): Don't merge .toc into .got for ld -r. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c86b6a7b5eabc60f7a4d99ce6ec30d48f5c71364;p=binutils-gdb.git * emulparams/elf64ppc.sh (GOT): Don't merge .toc into .got for ld -r. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index e1937bd7bb7..2d007ca3337 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2003-07-28 Alan Modra + + * emulparams/elf64ppc.sh (GOT): Don't merge .toc into .got for ld -r. + 2003-07-27 Alan Modra * ld.texinfo: Typo fixes. Document SUBALIGN. diff --git a/ld/emulparams/elf64ppc.sh b/ld/emulparams/elf64ppc.sh index e1d9e1d32f1..fe58c74258a 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="