diff --git a/core/embed/prodtest/memory_stm32f4.ld b/core/embed/prodtest/memory_stm32f4.ld index 61f7112ba..4553af4e5 100644 --- a/core/embed/prodtest/memory_stm32f4.ld +++ b/core/embed/prodtest/memory_stm32f4.ld @@ -54,7 +54,11 @@ SECTIONS { . = ALIGN(4); *(.rodata*); . = ALIGN(128K); - } >FLASH AT>FLASH + } >FLASH + + /DISCARD/ : { + *(.ARM.exidx*); + } .data : ALIGN(4) { *(.data*);