diff --git a/ld/emulparams/elf32lriscv-defs.sh b/ld/emulparams/elf32lriscv-defs.sh index 0e4b7237ff35..25cf406ee9c7 100644 --- a/ld/emulparams/elf32lriscv-defs.sh +++ b/ld/emulparams/elf32lriscv-defs.sh @@ -29,7 +29,6 @@ SDATA_START_SYMBOLS="_gp = . + 0x800; # Place the data section before text section. This enables more compact # global variable access for RVC code via linker relaxation. INITIAL_READONLY_SECTIONS=" - .data : { *(.data) *(.data.*) *(.gnu.linkonce.d.*) } .rodata : { *(.rodata) *(.rodata.*) *(.gnu.linkonce.r.*) } .srodata : { ${SDATA_START_SYMBOLS} } .sdata : { *(.sdata .sdata.* .gnu.linkonce.s.*) }