2012-05-23 Cary Coutant 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. commit 8645b4433b06db38940160c5357fc82221fa49b3 Author: Cary Coutant Date: Wed May 23 11:44:17 2012 -0700 Fix handling of .data.rel.ro* vs. .data.rel.ro.* sections. 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 <