risc-v:k210: Add KEEP on init_section

This commit is contained in:
David Sidrane 2020-09-28 12:46:25 -07:00 committed by Xiang Xiao
parent 02ffe7da32
commit 0e98dc306b

View File

@ -47,7 +47,7 @@ SECTIONS
.init_section : {
_sinit = ABSOLUTE(.);
*(.init_array .init_array.*)
KEEP(*(.init_array .init_array.*))
_einit = ABSOLUTE(.);
} > uflash