summaryrefslogtreecommitdiffstats
path: root/bsps/sh/gensh4/start/linkcmds
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/sh/gensh4/start/linkcmds')
-rw-r--r--bsps/sh/gensh4/start/linkcmds10
1 files changed, 6 insertions, 4 deletions
diff --git a/bsps/sh/gensh4/start/linkcmds b/bsps/sh/gensh4/start/linkcmds
index de6bb05693..21e0fdc5c9 100644
--- a/bsps/sh/gensh4/start/linkcmds
+++ b/bsps/sh/gensh4/start/linkcmds
@@ -144,11 +144,14 @@ SECTIONS
__bss_end = .;
} > ram
- .stack . : {
+ .stack : {
. = . + 4096;
- }
+ } > ram
+
+ .rtemsstack (NOLOAD) : {
+ *(SORT(.rtemsstack.*))
+ } > ram
- . = ALIGN(16);
_WorkAreaBase = . ;
. = ALIGN(16);
@@ -188,6 +191,5 @@ SECTIONS
.debug_funcnames 0 : { *(.debug_funcnames) }
.debug_typenames 0 : { *(.debug_typenames) }
.debug_varnames 0 : { *(.debug_varnames) }
- .stack : { _stack = .; *(.stack) }
/* These must appear regardless of . */
}