Commit 91193900 by Andreas Schwab Committed by Jeff Law

dwarf2out.c (dwarf2out_frame_init): Undo last change...

	* dwarf2out.c (dwarf2out_frame_init): Undo last change, so that
	-fno-sjlj-exceptions works for a target that defines
	DWARF2_UNWIND_INFO as zero.

From-SVN: r17596
parent 1a56b81f
1998-01-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 1998-01-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* dwarf2out.c (dwarf2out_frame_init): Undo last change, so that
-fno-sjlj-exceptions works for a target that defines
DWARF2_UNWIND_INFO as zero.
* regmove.c (fixup_match_1): Undo last change which removed some * regmove.c (fixup_match_1): Undo last change which removed some
"useless" code, and add a comment explaining this. "useless" code, and add a comment explaining this.
......
...@@ -1885,12 +1885,9 @@ dwarf2out_frame_init () ...@@ -1885,12 +1885,9 @@ dwarf2out_frame_init ()
sake of lookup_cfa. */ sake of lookup_cfa. */
#ifdef DWARF2_UNWIND_INFO #ifdef DWARF2_UNWIND_INFO
if (DWARF2_UNWIND_INFO) /* On entry, the Canonical Frame Address is at SP. */
{ dwarf2out_def_cfa (NULL, STACK_POINTER_REGNUM, INCOMING_FRAME_SP_OFFSET);
/* On entry, the Canonical Frame Address is at SP. */ initial_return_save (INCOMING_RETURN_ADDR_RTX);
dwarf2out_def_cfa (NULL, STACK_POINTER_REGNUM, INCOMING_FRAME_SP_OFFSET);
initial_return_save (INCOMING_RETURN_ADDR_RTX);
}
#endif #endif
} }
......
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