Commit 79dbeefc by Andreas Schwab Committed by Andreas Schwab

m68k.c (m68k_output_function_prologue): Fix CFA offset without frame pointer.

	* config/m68k/m68k.c (m68k_output_function_prologue): Fix CFA
	offset without frame pointer.

From-SVN: r63799
parent 3ac1a319
2003-03-04 Andreas Schwab <schwab@suse.de>
* config/m68k/m68k.c (m68k_output_function_prologue): Fix CFA
offset without frame pointer.
2003-03-04 Steve Ellcey <sje@cup.hp.com>
* expr.c (expand_expr): Call promote_mode to set unsignedp.
......
/* Subroutines for insn-output.c for Motorola 68000 family.
Copyright (C) 1987, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
Copyright (C) 1987, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2003
Free Software Foundation, Inc.
This file is part of GNU CC.
......@@ -475,7 +475,7 @@ m68k_output_function_prologue (stream, size)
}
if (dwarf2out_do_frame ())
{
cfa_store_offset += fsize;
cfa_store_offset += fsize + 4;
cfa_offset = cfa_store_offset;
dwarf2out_def_cfa ("", STACK_POINTER_REGNUM, cfa_offset);
}
......
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