mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
2009-02-27 Daniel Hellstrom <daniel@gaisler.com>
PR 1386/bsps * shared/start.S: Stack space not correctly initialized. Causes failures on unoptimized applications.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2009-02-27 Daniel Hellstrom <daniel@gaisler.com>
|
||||
|
||||
PR 1386/bsps
|
||||
* shared/start.S: Stack space not correctly initialized. Causes
|
||||
failures on unoptimized applications.
|
||||
|
||||
2008-08-18 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* shared/bspstart.c: Remove bogus local declaration.
|
||||
|
||||
@@ -223,7 +223,7 @@ SYM(hard_reset):
|
||||
|
||||
set (SYM(rdb_start)), %g6 ! End of work-space area
|
||||
st %sp, [%g6]
|
||||
sub %g6, 4, %sp ! stack starts at end of RAM - 4
|
||||
sub %sp, 4, %sp ! stack starts at end of RAM - 4
|
||||
andn %sp, 0x0f, %sp ! align stack on 16-byte boundary
|
||||
mov %sp, %fp ! Set frame pointer
|
||||
nop
|
||||
|
||||
Reference in New Issue
Block a user