[PATCH 9/9] bsps/moxie: Use interrupt stack for init stack
Sebastian Huber
sebastian.huber at embedded-brains.de
Fri Nov 16 14:45:51 UTC 2018
Update #3459.
---
bsps/moxie/moxiesim/start/linkcmds | 1 -
bsps/moxie/moxiesim/start/start.S | 2 +-
2 files changed, 1 insertion(+), 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 */
--
2.16.4
More information about the devel
mailing list