You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2020/09/29 02:27:15 UTC
[incubator-nuttx] 03/04: mor1kx:or1k Add KEEP on init_section
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit 02ffe7da3282f97bd6377541863e9a462a0bbac8
Author: David Sidrane <Da...@NscDg.com>
AuthorDate: Mon Sep 28 12:45:51 2020 -0700
mor1kx:or1k Add KEEP on init_section
---
boards/or1k/mor1kx/or1k/scripts/flash.ld | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/boards/or1k/mor1kx/or1k/scripts/flash.ld b/boards/or1k/mor1kx/or1k/scripts/flash.ld
index 0e907d6..a3cd03d 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