Commit 67935d3f by DJ Delorie Committed by DJ Delorie

m68k.c (output_function_prologue): Save the new CFA register, *then* define it as the new CFA.

* config/m68k/m68k.c (output_function_prologue): Save the new CFA
register, *then* define it as the new CFA.

From-SVN: r40104
parent a29456b5
2001-02-27 DJ Delorie <dj@redhat.com>
* config/m68k/m68k.c (output_function_prologue): Save the new CFA
register, *then* define it as the new CFA.
Tue Feb 27 16:49:13 2001 Jeffrey A Law (law@cygnus.com) Tue Feb 27 16:49:13 2001 Jeffrey A Law (law@cygnus.com)
* pa.c (override_options): Promote -fpic to -fPIC. * pa.c (override_options): Promote -fpic to -fPIC.
......
...@@ -220,8 +220,8 @@ output_function_prologue (stream, size) ...@@ -220,8 +220,8 @@ output_function_prologue (stream, size)
l = (char *) dwarf2out_cfi_label (); l = (char *) dwarf2out_cfi_label ();
cfa_store_offset += 4; cfa_store_offset += 4;
cfa_offset = cfa_store_offset; cfa_offset = cfa_store_offset;
dwarf2out_def_cfa (l, FRAME_POINTER_REGNUM, cfa_offset);
dwarf2out_reg_save (l, FRAME_POINTER_REGNUM, -cfa_store_offset); dwarf2out_reg_save (l, FRAME_POINTER_REGNUM, -cfa_store_offset);
dwarf2out_def_cfa (l, FRAME_POINTER_REGNUM, cfa_offset);
cfa_store_offset += fsize; cfa_store_offset += fsize;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment