[U-Boot] [PATCHv2 1/2] mpc85xx: Initial SP alignment is wrong.

Kumar Gala galak at kernel.crashing.org
Tue Aug 14 23:28:45 CEST 2012


On Jul 23, 2012, at 3:58 PM, Joakim Tjernlund wrote:

> 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 at transmode.se>
> ---
> 
> v2 - Address Scott Wood's comments
> arch/powerpc/cpu/mpc85xx/start.S |   16 +++++-----------
> 1 files changed, 5 insertions(+), 11 deletions(-)

Acked-by: Kumar Gala <galak at kernel.crashing.org>

- k


More information about the U-Boot mailing list