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: Jakub Jelinek <jakub at redhat dot com>
- Date: Mon, 16 Oct 2000 21:49:00 +0200
- Cc: gcc at gcc dot gnu dot org
- References: <200010161818.LAA29794@kankakee.wrs.com>
- Reply-To: Jakub Jelinek <jakub at redhat dot com>
On Mon, Oct 16, 2000 at 11:18:25AM -0700, Mike Stump wrote:
> > (well, particularly the nonlocal_goto_receiver and reloading of %l7 (pic
> > base register) in all nonlocal_goto_receivers)? I cannot think of any, nor
> > can DaveM. If noone comes with explanation why %l7 might get clobbered, I'll
> > submit a patch to remove this shortly.
>
> My best recollection would be to re-initialize the PIC register after
> transitioning a shared library boundary during an EH flow control
> thang. The nonlocal_goto_receiver existed before the EH specific
> receiver existed (exception_receiver), and code for that routine was
> placed into the former routine.
>
> Isn't this just obvious? :-)
But even then it would be needed for -mflat only, as register windows take
care of the non-flat pic pointer.
Jakub