[PATCH]: Fix syscall() on sparc.
David Miller
davem@davemloft.net
Thu May 1 21:38:00 GMT 2008
From: Daniel Jacobowitz <drow@false.org>
Date: Thu, 1 May 2008 10:17:38 -0400
> On Thu, May 01, 2008 at 02:23:02AM -0700, David Miller wrote:
> >
> > I noticed this while hacking on libnuma.
> >
> > Please apply, thanks!
>
> You'd know best for this platform, but this looks so strange I had to
> comment. For sparc32 I assume the sixth argument goes above a
> register window, thus the 92 bytes. But for sparc64...
>
> > + ldx [%sp+2223],%o5
>
> That seems like a really unlikely stack frame size :-)
The stack is biased by 2047 bytes on sparc64, so that more local
variables are accessible from the frame pointer.
More information about the Libc-alpha
mailing list