* scripttempl/elf.sc: Put .gnu.linkonce.d.rel.ro.* sections into
authorJakub Jelinek <jakub@redhat.com>
Wed, 14 Dec 2005 15:15:55 +0000 (15:15 +0000)
committerJakub Jelinek <jakub@redhat.com>
Wed, 14 Dec 2005 15:15:55 +0000 (15:15 +0000)
.data.rel.ro output section.  Fix a pasto for -z nocombreloc
.rela.data.rel.ro section content.

ld/ChangeLog
ld/scripttempl/elf.sc

index 8e2224e350cf02985829dfea1b8d646f6a85cdf6..389677c00f3ad330e9cecd772961860591181f3d 100644 (file)
@@ -1,3 +1,9 @@
+2005-12-14  Jakub Jelinek  <jakub@redhat.com>
+
+       * scripttempl/elf.sc: Put .gnu.linkonce.d.rel.ro.* sections into
+       .data.rel.ro output section.  Fix a pasto for -z nocombreloc
+       .rela.data.rel.ro section content.
+
 2005-12-12  Nathan Sidwell  <nathan@codesourcery.com>
 
        * Makefile.am (ALL_EMULATIONS): Replace ms1 files with mt files.
index cdc91847d57cad00315168aab1e28afe88b4baf0..4585a59633693b65164b6c07dffbe17e15e1d14d 100644 (file)
@@ -117,7 +117,7 @@ if test -z "$GOT"; then
 fi
 DYNAMIC=".dynamic      ${RELOCATING-0} : { *(.dynamic) }"
 RODATA=".rodata       ${RELOCATING-0} : { *(.rodata${RELOCATING+ .rodata.* .gnu.linkonce.r.*}) }"
-DATARELRO=".data.rel.ro : { *(.data.rel.ro.local) *(.data.rel.ro*) }"
+DATARELRO=".data.rel.ro : { *(.data.rel.ro.local* .gnu.linkonce.d.rel.ro.local.*) *(.data.rel.ro* .gnu.linkonce.d.rel.ro.*) }"
 STACKNOTE="/DISCARD/ : { *(.note.GNU-stack) }"
 if test -z "${NO_SMALL_DATA}"; then
   SBSS=".sbss         ${RELOCATING-0} :
@@ -282,8 +282,8 @@ eval $COMBRELOCCAT <<EOF
   .rel.rodata   ${RELOCATING-0} : { *(.rel.rodata${RELOCATING+ .rel.rodata.* .rel.gnu.linkonce.r.*}) }
   .rela.rodata  ${RELOCATING-0} : { *(.rela.rodata${RELOCATING+ .rela.rodata.* .rela.gnu.linkonce.r.*}) }
   ${OTHER_READONLY_RELOC_SECTIONS}
-  .rel.data.rel.ro ${RELOCATING-0} : { *(.rel.data.rel.ro${RELOCATING+*}) }
-  .rela.data.rel.ro ${RELOCATING-0} : { *(.rel.data.rel.ro${RELOCATING+*}) }
+  .rel.data.rel.ro ${RELOCATING-0} : { *(.rel.data.rel.ro${RELOCATING+* .rel.gnu.linkonce.d.rel.ro.*}) }
+  .rela.data.rel.ro ${RELOCATING-0} : { *(.rela.data.rel.ro${RELOCATING+* .rela.gnu.linkonce.d.rel.ro.*}) }
   .rel.data     ${RELOCATING-0} : { *(.rel.data${RELOCATING+ .rel.data.* .rel.gnu.linkonce.d.*}) }
   .rela.data    ${RELOCATING-0} : { *(.rela.data${RELOCATING+ .rela.data.* .rela.gnu.linkonce.d.*}) }
   .rel.tdata   ${RELOCATING-0} : { *(.rel.tdata${RELOCATING+ .rel.tdata.* .rel.gnu.linkonce.td.*}) }
This page took 0.027267 seconds and 4 git commands to generate.