Fix previous mis-applied patch.
* config/m68k/m68k.md (m68k_output_function_prologue): Always call dwarf2out_def_cfa. Only add space for frame pointer to cfa_offset when frame_pointer_needed. From-SVN: r108801
This commit is contained in:
parent
2f201ba050
commit
b214e1e755
@ -599,10 +599,10 @@ m68k_output_function_prologue (FILE *stream,
|
|||||||
{
|
{
|
||||||
if (frame_pointer_needed)
|
if (frame_pointer_needed)
|
||||||
{
|
{
|
||||||
cfa_offset += current_frame.size + 4;
|
|
||||||
char *l;
|
char *l;
|
||||||
l = (char *) dwarf2out_cfi_label ();
|
l = (char *) dwarf2out_cfi_label ();
|
||||||
cfa_offset += 4; + dwarf2out_reg_save (l, FRAME_POINTER_REGNUM, -cfa_offset);
|
cfa_offset += 4;
|
||||||
|
dwarf2out_reg_save (l, FRAME_POINTER_REGNUM, -cfa_offset);
|
||||||
dwarf2out_def_cfa (l, FRAME_POINTER_REGNUM, cfa_offset);
|
dwarf2out_def_cfa (l, FRAME_POINTER_REGNUM, cfa_offset);
|
||||||
cfa_offset += current_frame.size;
|
cfa_offset += current_frame.size;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user