From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Mon, 05 Feb 2007 00:58:34 +0000 (GMT) Received: from nevyn.them.org ([66.93.172.17]:59828 "EHLO nevyn.them.org") by ftp.linux-mips.org with ESMTP id S20038780AbXBEA63 (ORCPT ); Mon, 5 Feb 2007 00:58:29 +0000 Received: from drow by nevyn.them.org with local (Exim 4.63) (envelope-from ) id 1HDs8a-0000QK-3a; Sun, 04 Feb 2007 19:55:16 -0500 Date: Sun, 4 Feb 2007 19:55:16 -0500 From: Daniel Jacobowitz To: David Daney Cc: Franck Bui-Huu , Ralf Baechle , linux-mips Subject: Re: Question about signal syscalls ! Message-ID: <20070205005516.GA1581@nevyn.them.org> References: <20070201135734.GB12728@linux-mips.org> <45C21CFE.9060804@avtrex.com> <45C3611D.7000702@avtrex.com> <45C36D46.5040409@avtrex.com> <45C3A1E3.8010802@avtrex.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45C3A1E3.8010802@avtrex.com> User-Agent: Mutt/1.5.13 (2006-08-11) Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 13918 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: dan@debian.org Precedence: bulk X-list: linux-mips On Fri, Feb 02, 2007 at 12:41:07PM -0800, David Daney wrote: > I thought you were suggesting not saving s0-s7. If you don't save them, > you cannot restore them. And they have to be restored from the > sigcontext in the user's address space. This allows user space signal > handlers to emulate trapping instructions, and the like. Not necessarily, because you can trust the signal handler to restore them, and it can save them itself if it needs to. As I said, I think there's at least one architecture which does it this way. I'm afraid I don't know which one. -- Daniel Jacobowitz CodeSourcery