diff --git a/boards/risc-v/esp32c6/common/scripts/legacy_sections.ld b/boards/risc-v/esp32c6/common/scripts/legacy_sections.ld index 7f6349faea..eadef0438c 100644 --- a/boards/risc-v/esp32c6/common/scripts/legacy_sections.ld +++ b/boards/risc-v/esp32c6/common/scripts/legacy_sections.ld @@ -161,6 +161,7 @@ SECTIONS *(.irom1.text) /* catch stray ICACHE_RODATA_ATTR */ *(.gnu.linkonce.r.*) *(.rodata1) + *(.srodata.*) __XT_EXCEPTION_TABLE_ = ABSOLUTE(.); *(.xt_except_table) *(.gcc_except_table .gcc_except_table.*)