mpc85xx: Initial SP alignment is wrong.
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>
Mon, 23 Jul 2012 10:58:02 +0000 (10:58 +0000)
committerAndy Fleming <afleming@freescale.com>
Wed, 22 Aug 2012 21:07:42 +0000 (16:07 -0500)
commit89f4289958c12e6b64a6073f820255c1f719c5cc
tree1ee3edbe1f1f2f23e6276420082232c02f6b2c9c
parente66443fdb5355e68cfdbbdd37248c4b7eb4968f5
mpc85xx: Initial SP alignment is wrong.

PowerPC mandates SP to be 16 bytes aligned.
Furthermore, a stack frame is added, pointing to the reset vector
which may in the way when gdb is walking the stack because
the reset vector may not accessible depending on emulator settings.
Also use a temp register so gdb doesn't pick up intermediate values.

Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Acked-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Andy Fleming <afleming@freescale.com>
arch/powerpc/cpu/mpc85xx/start.S