forcing gcc to save all caller saved registers
Dietmar Maurer
dietmar@ximian.com
Tue Nov 26 07:19:00 GMT 2002
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
More information about the Gcc
mailing list