[PATCH]: Fix syscall() on sparc.

Roland McGrath roland@redhat.com
Fri May 2 02:27:00 GMT 2008


> > > +	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.

You don't stay sane by writing it as [%sp + 2047 - 176]?
(Or even some macro or built-in assembler shorthand for same.)



More information about the Libc-alpha mailing list