diff --git a/soc/riscv32/openisa_rv32m1/linker.ld b/soc/riscv32/openisa_rv32m1/linker.ld index 7a598de030c..b98d0241618 100644 --- a/soc/riscv32/openisa_rv32m1/linker.ld +++ b/soc/riscv32/openisa_rv32m1/linker.ld @@ -107,6 +107,8 @@ SECTIONS SECTION_PROLOGUE(_RODATA_SECTION_NAME,,) { . = ALIGN(4); + *(.srodata) + *(".srodata.*") *(.rodata) *(.rodata.*) *(.gnu.linkonce.r.*)