risc-v:k210: Add KEEP on init_section
This commit is contained in:
parent
02ffe7da32
commit
0e98dc306b
@ -47,7 +47,7 @@ SECTIONS
|
|||||||
|
|
||||||
.init_section : {
|
.init_section : {
|
||||||
_sinit = ABSOLUTE(.);
|
_sinit = ABSOLUTE(.);
|
||||||
*(.init_array .init_array.*)
|
KEEP(*(.init_array .init_array.*))
|
||||||
_einit = ABSOLUTE(.);
|
_einit = ABSOLUTE(.);
|
||||||
} > uflash
|
} > uflash
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user