From 18bbc1c5f0ded154d747c29d05e1ca35dc089cd8 Mon Sep 17 00:00:00 2001 From: Cary Coutant Date: Thu, 24 May 2012 01:04:53 +0000 Subject: [PATCH] ld/ * scripttempl/armbpabi.sc: Match .data.rel.ro.* sections more carefully. Fix typo where .rela.data.rel.ro matches .rel.data.rel.ro. * scripttempl/mep.sc: Likewise. * scripttempl/elf.sc: Match .data.rel.ro.* sections more carefully. * scripttempl/elf64hppa.sc: Likewise. * scripttempl/elfxtensa.sc: Likewise. --- ld/ChangeLog | 10 ++++++++++ ld/scripttempl/armbpabi.sc | 6 +++--- ld/scripttempl/elf.sc | 6 +++--- ld/scripttempl/elf64hppa.sc | 6 +++--- ld/scripttempl/elfxtensa.sc | 6 +++--- ld/scripttempl/mep.sc | 6 +++--- 6 files changed, 25 insertions(+), 15 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index bf18bbf..38dfb24 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,13 @@ +2012-05-23 Cary Coutant + + * scripttempl/armbpabi.sc: Match .data.rel.ro.* sections more + carefully. Fix typo where .rela.data.rel.ro matches + .rel.data.rel.ro. + * scripttempl/mep.sc: Likewise. + * scripttempl/elf.sc: Match .data.rel.ro.* sections more carefully. + * scripttempl/elf64hppa.sc: Likewise. + * scripttempl/elfxtensa.sc: Likewise. + 2012-05-17 Daniel Richard G. Nick Clifton diff --git a/ld/scripttempl/armbpabi.sc b/ld/scripttempl/armbpabi.sc index 8b3ea0a..ea01ce2 100644 --- a/ld/scripttempl/armbpabi.sc +++ b/ld/scripttempl/armbpabi.sc @@ -29,7 +29,7 @@ fi INTERP=".interp 0 : { *(.interp) }" PLT=".plt ${RELOCATING-0} : { *(.plt) }" 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) *(.data.rel.ro .data.rel.ro.*) }" DISCARDED="/DISCARD/ : { *(.note.GNU-stack) *(.gnu_debuglink) *(.gnu.lto_*) }" if test -z "${NO_SMALL_DATA}"; then SBSS=".sbss ${RELOCATING-0} : @@ -380,8 +380,8 @@ eval $COMBRELOCCAT <