This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix setjmp pattern on SPARC64
- From: "David S. Miller" <davem at davemloft dot net>
- To: ebotcazou at libertysurf dot fr
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 16 Feb 2006 14:49:59 -0800 (PST)
- Subject: Re: Fix setjmp pattern on SPARC64
- References: <200602162243.11211.ebotcazou@libertysurf.fr>
From: Eric Botcazou <ebotcazou@libertysurf.fr>
Date: Thu, 16 Feb 2006 22:43:11 +0100
> Looks like the pattern has never taken into account the stack bias...
> This makes it possible to build a 64-bit Ada compiler, at last.
>
> Bootstrapped/regtested on SPARC/Solaris 10, SPARC64/Solaris 9 and
> SPARC/Solaris 8, applied to mainline.
Does ADA emit the longjmp() using some internal backend pattern too?
I'm just asking because many systems implement sparc64's
setjmp()/longjmp() via a full getcontext()/setcontext() instead of the
traditional JMP_BUF mechanism.
Either way, good catch :-)