From 4e8aba047f9a1ae50eabf229605904fa225d3d2f Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Wed, 14 Dec 2005 15:15:55 +0000 Subject: [PATCH] * 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. --- ld/ChangeLog | 6 ++++++ ld/scripttempl/elf.sc | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 8e2224e..389677c 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +2005-12-14 Jakub Jelinek + + * 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 * Makefile.am (ALL_EMULATIONS): Replace ms1 files with mt files. diff --git a/ld/scripttempl/elf.sc b/ld/scripttempl/elf.sc index cdc9184..4585a59 100644 --- a/ld/scripttempl/elf.sc +++ b/ld/scripttempl/elf.sc @@ -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 <