[rtems commit] bsps/moxie: Use interrupt stack for init stack

Sebastian Huber sebh at rtems.org
Mon Nov 19 06:21:42 UTC 2018


Module:    rtems
Branch:    master
Commit:    0a6a4ddba8d12e91e12df12070f18ea714826990
Changeset: http://git.rtems.org/rtems/commit/?id=0a6a4ddba8d12e91e12df12070f18ea714826990

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Nov 16 07:46:16 2018 +0100

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(-)

diff --git a/bsps/moxie/moxiesim/start/linkcmds b/bsps/moxie/moxiesim/start/linkcmds
index 1df8cfb..843512b 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 ae712cb..038c83e 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 */




More information about the vc mailing list