[PATCH]: Fix syscall() on sparc.

Daniel Jacobowitz drow@false.org
Thu May 1 14:23:00 GMT 2008


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 :-)

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Libc-alpha mailing list