Date: Thu, 30 May 2002 23:14:17 -0700 From: Peter Wemm <peter@wemm.org> To: Julian Elischer <julian@elischer.org> Cc: Jake Burkholder <jake@locore.ca>, FreeBSD current users <current@FreeBSD.ORG> Subject: Re: Seeking OK to commit KSE MIII-again Message-ID: <20020531061417.7326C380A@overcee.wemm.org> In-Reply-To: <Pine.BSF.4.21.0205301816320.23947-100000@InterJet.elischer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Julian Elischer wrote: > On Thu, 30 May 2002, Jake Burkholder wrote: [..] > > It is much more difficult to ensure that all the register values > > end up the same on each return from the system call on sparc64, due > > to the way that register stack works. The current test program > > will not work at all, because setjmp, longjmp cannot be used to > > switch the stack in the same way. > > The library will not be using setjmp and longjmp in this way but > instead the setcontext() call that dan wrote for the current thread > library. If that works it should be enough. > (I'd like to investigate your comments though... can you explain > more about why it's a problem? It sure simplifies things on most > architectures I've done this on.. setjmp/longjmp cannot be used to switch stacks on ia64 either, for what it's worth. This is why libc_r is disabled for ia64 (and I presume sparc64). Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020531061417.7326C380A>