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]
Other format: [Raw text]

Re: forcing gcc to save all caller saved registers


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.


r~


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