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]

Re: m68k call frame support


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~


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