bsps/moxie: Use interrupt stack for init stack

Update #3459.
This commit is contained in:
Sebastian Huber
2018-11-16 07:46:16 +01:00
parent 38f81bfc21
commit 0a6a4ddba8
2 changed files with 1 additions and 2 deletions

View File

@@ -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 . */
}

View File

@@ -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 */