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:
parent
a74c707da6
commit
2f03b42bfc
|
@ -43,7 +43,7 @@ SECTIONS
|
||||||
} > vectflash
|
} > vectflash
|
||||||
|
|
||||||
.cfmprotect : {
|
.cfmprotect : {
|
||||||
*(.cfmconfig)
|
KEEP(*(.cfmconfig))
|
||||||
} > cfmprotect
|
} > cfmprotect
|
||||||
|
|
||||||
.text : {
|
.text : {
|
||||||
|
|
|
@ -43,7 +43,7 @@ SECTIONS
|
||||||
} > vectflash
|
} > vectflash
|
||||||
|
|
||||||
.cfmprotect : {
|
.cfmprotect : {
|
||||||
*(.cfmconfig)
|
KEEP(*(.cfmconfig))
|
||||||
} > cfmprotect
|
} > cfmprotect
|
||||||
|
|
||||||
.text : {
|
.text : {
|
||||||
|
|
|
@ -43,7 +43,7 @@ SECTIONS
|
||||||
} > vectflash
|
} > vectflash
|
||||||
|
|
||||||
.cfmprotect : {
|
.cfmprotect : {
|
||||||
*(.cfmconfig)
|
KEEP(*(.cfmconfig))
|
||||||
} > cfmprotect
|
} > cfmprotect
|
||||||
|
|
||||||
.text : {
|
.text : {
|
||||||
|
|
Loading…
Reference in New Issue