boards: arm: kl: keep cfmconfig sections in linker script

This makes sure that this section is present even if LTO is enabled.
This commit is contained in:
Karel Kočí 2022-05-20 11:44:05 +02:00 committed by Xiang Xiao
parent a74c707da6
commit 2f03b42bfc
3 changed files with 3 additions and 3 deletions

View File

@ -43,7 +43,7 @@ SECTIONS
} > vectflash
.cfmprotect : {
*(.cfmconfig)
KEEP(*(.cfmconfig))
} > cfmprotect
.text : {

View File

@ -43,7 +43,7 @@ SECTIONS
} > vectflash
.cfmprotect : {
*(.cfmconfig)
KEEP(*(.cfmconfig))
} > cfmprotect
.text : {

View File

@ -43,7 +43,7 @@ SECTIONS
} > vectflash
.cfmprotect : {
*(.cfmconfig)
KEEP(*(.cfmconfig))
} > cfmprotect
.text : {