This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Anyone knows about a testcase which was fixed by Wed Dec 24 18:05:13 1997 SPARC change?


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~

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]