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