diff --git a/ld/scripttempl/elfd10v.sc b/ld/scripttempl/elfd10v.sc index 3d697558bc..ef57c81a38 100644 --- a/ld/scripttempl/elfd10v.sc +++ b/ld/scripttempl/elfd10v.sc @@ -108,7 +108,12 @@ SECTIONS *(.gnu.linkonce.d*) ${CONSTRUCTING+CONSTRUCTORS} } ${RELOCATING+ >DATA} - .data1 ${RELOCATING-0} : { *(.data1) } ${RELOCATING+ >DATA} + + .data1 ${RELOCATING-0} : { + *(.data1) + *(.data1.*) + } ${RELOCATING+ >DATA} + ${RELOCATING+${CTOR} >DATA} ${RELOCATING+${DTOR} >DATA}