This is the mail archive of the
mailing list for the GCC project.
Re: m68k call frame support
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