diff --git a/boards/or1k/mor1kx/or1k/scripts/flash.ld b/boards/or1k/mor1kx/or1k/scripts/flash.ld index 0e907d6305..a3cd03d142 100644 --- a/boards/or1k/mor1kx/or1k/scripts/flash.ld +++ b/boards/or1k/mor1kx/or1k/scripts/flash.ld @@ -64,7 +64,7 @@ SECTIONS .init_section : { _sinit = ABSOLUTE(.); - *(.init_array .init_array.*) + KEEP(*(.init_array .init_array.*)) _einit = ABSOLUTE(.); } > dram