This is the mail archive of the
mailing list for the GCC project.
Re: [patch/hppa-linux] MD_FALLBACK_FRAME_STATE_FOR definition
On Thu, May 06, 2004 at 12:27:08AM -0400, John David Anglin wrote:
> > > i == 0?
> > do you mean i should not restore gr0?
> I can't see why it needs to be restored. Loading it is a nop except
> for its effect on cache. I also wondered if this slot in the signal
> context was being used for something else.
It's used to store the PSW, apparently.
[This overloading is pretty typical. MIPS stores the original syscall
number in the GPR slot for $0.]