This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: forcing gcc to save all caller saved registers
- From: Dietmar Maurer <dietmar at ximian dot com>
- To: Richard Henderson <rth at redhat dot com>
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: 26 Nov 2002 11:21:26 +0100
- Subject: Re: forcing gcc to save all caller saved registers
- References: <1038056962.7237.16.camel@tequila> <20021126014308.GE25134@redhat.com>
On Tue, 2002-11-26 at 02:43, Richard Henderson wrote:
> On Sat, Nov 23, 2002 at 02:09:22PM +0100, Dietmar Maurer wrote:
> > That way gcc save/restores all caller saved regs and generates exception
> > tables able to restore all those registers (when compiled with
> > -fextections)
> >
> > Is there any other way to accomplish the same result?
>
> __builtin_unwind_init (). Does more work than you may have wanted
> on targets with register windows, but should be close enough.
Oh yes, that is what i need :-) , thanks.
- Dietmar