From 0a6a4ddba8d12e91e12df12070f18ea714826990 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 16 Nov 2018 07:46:16 +0100 Subject: bsps/moxie: Use interrupt stack for init stack Update #3459. --- bsps/moxie/moxiesim/start/linkcmds | 1 - bsps/moxie/moxiesim/start/start.S | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'bsps') 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 */ -- cgit v1.2.3