diff --git a/soc/sensry/ganymed/sy1xx/common/linker.ld b/soc/sensry/ganymed/sy1xx/common/linker.ld index c9a08957c81..90b9fe9815f 100644 --- a/soc/sensry/ganymed/sy1xx/common/linker.ld +++ b/soc/sensry/ganymed/sy1xx/common/linker.ld @@ -240,6 +240,8 @@ SECTIONS #include + /DISCARD/ : { *(.note.GNU-stack) } + SECTION_PROLOGUE(.riscv.attributes, 0,) { KEEP(*(.riscv.attributes))