m68k call frame support

Roman Zippel zippel@linux-m68k.org
Thu Aug 2 21:19:00 GMT 2001


Hi,

Richard Henderson wrote:

> You need to arrange for m68k_output_function_prologue to
> call dwarf2out_reg_save for d0/d1 with an offset corresponding
> to the stack frame offset at which they were saved.
> 
> You also need to modify m68k_output_function_epilogue to
> load d0/d1 from this location on leaving the function.

Hmm, I think now I see it. I only have to do this when
current_function_calls_eh_return is true? Another question, in the
archive I found you mentioned that one should avoid the return register
for EH_RETURN_DATA_REGNO, so should I use d1/a0/a1 here and d0 for
EH_RETURN_STACKADJ_RTX?

bye, Roman



More information about the Gcc mailing list