m68k call frame support
Richard Henderson
rth@redhat.com
Thu Aug 2 17:44:00 GMT 2001
On Thu, Aug 02, 2001 at 07:19:08PM +0200, Roman Zippel wrote:
> When I check the context, I see that the registers d0/d1/a0/a1 aren't
> initialised. Where should this happen? What am I missing?
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.
r~
More information about the Gcc
mailing list