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:
Joel Sherrill
2009-02-27 15:33:16 +00:00
parent 06ff7d223c
commit 432ddefbcd
2 changed files with 7 additions and 1 deletions

View File

@@ -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.

View File

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