diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-11-16 07:46:16 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-11-19 07:15:47 +0100 |
commit | 0a6a4ddba8d12e91e12df12070f18ea714826990 (patch) | |
tree | e3711122e407cc081a185f35488d13c35635c0ef /bsps/moxie | |
parent | 38f81bfc210590c8175b9d2dbc4d38f400df51cb (diff) |
bsps/moxie: Use interrupt stack for init stack
Update #3459.
Diffstat (limited to 'bsps/moxie')
-rw-r--r-- | bsps/moxie/moxiesim/start/linkcmds | 1 | ||||
-rw-r--r-- | bsps/moxie/moxiesim/start/start.S | 2 |
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 */ |