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.


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.


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