Date: Thu, 30 May 2002 23:31:46 -0700 (PDT) From: Julian Elischer <julian@elischer.org> To: Peter Wemm <peter@wemm.org> Cc: Jake Burkholder <jake@locore.ca>, FreeBSD current users <current@FreeBSD.ORG> Subject: Re: Seeking OK to commit KSE MIII-again Message-ID: <Pine.BSF.4.21.0205302330240.26157-100000@InterJet.elischer.org> In-Reply-To: <20020531061417.7326C380A@overcee.wemm.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 30 May 2002, Peter Wemm wrote: > 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). I don't really care if setjmp doesn't work, as long as there is some assembler that can be put in the library that can switch a stack/thread. > > 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?Pine.BSF.4.21.0205302330240.26157-100000>