* emulparams/elf64ppc.sh (.tocbss): Use new section alignment scheme.
authorAlan Modra <amodra@gmail.com>
Fri, 18 Nov 2005 04:26:29 +0000 (04:26 +0000)
committerAlan Modra <amodra@gmail.com>
Fri, 18 Nov 2005 04:26:29 +0000 (04:26 +0000)
(.got, .toc1, .opd): Likewise.

ld/ChangeLog
ld/emulparams/elf64ppc.sh

index 685bbf3..8a31f7c 100644 (file)
@@ -1,5 +1,10 @@
 2005-11-18  Alan Modra  <amodra@bigpond.net.au>
 
+       * emulparams/elf64ppc.sh (.tocbss): Use new section alignment scheme.
+       (.got, .toc1, .opd): Likewise.
+
+2005-11-18  Alan Modra  <amodra@bigpond.net.au>
+
        * ldlang.c (lang_size_sections_1): Revert 2005-11-16 functional
        changes to section alignment.
        * ldmisc.c (vfinfo): Handle %ld and %lu.
index c190b18..8285723 100644 (file)
@@ -15,13 +15,13 @@ NOP=0x60000000
 OTHER_TEXT_SECTIONS="*(.sfpr .glink)"
 BSS_PLT=
 OTHER_BSS_SYMBOLS="
-  .tocbss      ${RELOCATING-0}${RELOCATING+ALIGN(8)} : { *(.tocbss)}"
+  .tocbss      ${RELOCATING-0} :${RELOCATING+ ALIGN(8)} { *(.tocbss)}"
 OTHER_PLT_RELOC_SECTIONS="
   .rela.tocbss ${RELOCATING-0} : { *(.rela.tocbss) }"
 
 if test x${RELOCATING+set} = xset; then
   GOT="
-  .got         ALIGN(8) : { *(.got .toc) }"
+  .got         : ALIGN(8) { *(.got .toc) }"
 else
   GOT="
   .got         0 : { *(.got) }
@@ -30,8 +30,8 @@ fi
 OTHER_GOT_RELOC_SECTIONS="
   .rela.toc    ${RELOCATING-0} : { *(.rela.toc) }"
 OTHER_READWRITE_SECTIONS="
-  .toc1                ${RELOCATING-0}${RELOCATING+ALIGN(8)} : { *(.toc1) }
-  .opd         ${RELOCATING-0}${RELOCATING+ALIGN(8)} : { KEEP (*(.opd)) }"
+  .toc1                ${RELOCATING-0} :${RELOCATING+ ALIGN(8)} { *(.toc1) }
+  .opd         ${RELOCATING-0} :${RELOCATING+ ALIGN(8)} { KEEP (*(.opd)) }"
 
 # Treat a host that matches the target with the possible exception of "64"
 # in the name as if it were native.