This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Anyone knows about a testcase which was fixed by Wed Dec 24 18:05:13 1997 SPARC change?
- To: Mike Stump <mrs at windriver dot com>
- Subject: Re: Anyone knows about a testcase which was fixed by Wed Dec 24 18:05:13 1997 SPARC change?
- From: Richard Henderson <rth at cygnus dot com>
- Date: Mon, 16 Oct 2000 17:55:48 -0700
- Cc: jakub at redhat dot com, gcc at gcc dot gnu dot org
- References: <200010162132.OAA29926@kankakee.wrs.com>
On Mon, Oct 16, 2000 at 02:32:57PM -0700, Mike Stump wrote:
> > But even then it would be needed for -mflat only, as register windows take
> > care of the non-flat pic pointer.
>
> Imagine the case where a symbol needs to be accessed on the far side,
> from the pic register, but after the EH mechanism has redone the stack
> pointer, and the frame pointer and the entire frame. You discover
> that the pic register needs reloading, again, on the far side.
You're not listening: we reload the *entire* register window
for the target function in the process of "longjmping" back.
That takes care of the pic register and everything else that
must be restored.
r~