summaryrefslogtreecommitdiff
path: root/nuttx/configs/shenzhou/scripts/ld.script
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/shenzhou/scripts/ld.script')
-rw-r--r--nuttx/configs/shenzhou/scripts/ld.script8
1 files changed, 7 insertions, 1 deletions
diff --git a/nuttx/configs/shenzhou/scripts/ld.script b/nuttx/configs/shenzhou/scripts/ld.script
index f07d4432d..c9140291c 100644
--- a/nuttx/configs/shenzhou/scripts/ld.script
+++ b/nuttx/configs/shenzhou/scripts/ld.script
@@ -63,10 +63,16 @@ SECTIONS
_etext = ABSOLUTE(.);
} > flash
+ .init_section : {
+ _sinit = ABSOLUTE(.);
+ *(.init_array .init_array.*)
+ _einit = ABSOLUTE(.);
+ } > flash
+
__exidx_start = ABSOLUTE(.);
.ARM.exidx : {
*(.ARM.exidx*)
- } >flash
+ } > flash
__exidx_end = ABSOLUTE(.);
_eronly = ABSOLUTE(.);