[PATCH] force stackpointer alignment in 64bit kernel
Paul Nasrat
pnasrat at redhat.com
Sat Mar 4 10:45:58 EST 2006
On Sat, 2006-03-04 at 00:23 +0100, Olaf Hering wrote:
> On Fri, Mar 03, Segher Boessenkool wrote:
>
> > > The stackpointer came from 32bit code, which appearently has different
> > > alignment rules than 64bit code. The chain was yaboot -> zImage ->
> > > vmlinux
> > > Force the stackpointer to be 16 byte aligned.
> >
> > The stack pointer is required to be 16-byte aligned when the
> > client program is started, on 32-bit as well.
>
> See http://ozlabs.org/pipermail/linuxppc-dev/2006-March/021342.html
>
> Either yaboot and/or zImage need to force a stack alignment, or we apply
> the 2 liner.
Happy to look at/receive patches for yaboot. I'll look on Monday.
Paul
More information about the Linuxppc-dev
mailing list