This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH]: Fix syscall() on sparc.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]