From owner-freebsd-current Thu May 30 23:14:34 2002 Delivered-To: freebsd-current@freebsd.org Received: from evilpete.dyndns.org (12-232-26-46.client.attbi.com [12.232.26.46]) by hub.freebsd.org (Postfix) with ESMTP id 02EA137B401 for ; Thu, 30 May 2002 23:14:19 -0700 (PDT) Received: from overcee.wemm.org ([10.0.0.3]) by evilpete.dyndns.org (8.11.6/8.11.6) with ESMTP id g4V6EH171773 for ; Thu, 30 May 2002 23:14:18 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (Postfix) with ESMTP id 7326C380A; Thu, 30 May 2002 23:14:17 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Julian Elischer Cc: Jake Burkholder , FreeBSD current users Subject: Re: Seeking OK to commit KSE MIII-again In-Reply-To: Date: Thu, 30 May 2002 23:14:17 -0700 From: Peter Wemm Message-Id: <20020531061417.7326C380A@overcee.wemm.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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