Skip to content
Snippets Groups Projects
Commit 89f42899 authored by Joakim Tjernlund's avatar Joakim Tjernlund Committed by Andy Fleming
Browse files

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: default avatarJoakim Tjernlund <Joakim.Tjernlund@transmode.se>
Acked-by: default avatarKumar Gala <galak@kernel.crashing.org>
Signed-off-by: default avatarAndy Fleming <afleming@freescale.com>
parent e66443fd
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment