summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bsps/moxie/moxiesim/start/linkcmds1
-rw-r--r--bsps/moxie/moxiesim/start/start.S2
2 files changed, 1 insertions, 2 deletions
diff --git a/bsps/moxie/moxiesim/start/linkcmds b/bsps/moxie/moxiesim/start/linkcmds
index 1df8cfb3fe..843512b15d 100644
--- a/bsps/moxie/moxiesim/start/linkcmds
+++ b/bsps/moxie/moxiesim/start/linkcmds
@@ -267,6 +267,5 @@ SECTIONS
.debug_funcnames 0 : { *(.debug_funcnames) }
.debug_typenames 0 : { *(.debug_typenames) }
.debug_varnames 0 : { *(.debug_varnames) }
- .stack 0x400000 : { _stack = .; *(.stack) }
/* These must appear regardless of . */
}
diff --git a/bsps/moxie/moxiesim/start/start.S b/bsps/moxie/moxiesim/start/start.S
index ae712cb3e4..038c83e61b 100644
--- a/bsps/moxie/moxiesim/start/start.S
+++ b/bsps/moxie/moxiesim/start/start.S
@@ -11,7 +11,7 @@
.text
.global _start
_start:
- ldi.l $sp, _stack /* load up stack pointer */
+ ldi.l $sp, _ISR_Stack_area_end /* load up stack pointer */
xor $fp, $fp /* zero fp to allow unwinders to stop */
/* zero the bss area */