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
This commit is contained in:
Andreas Schwab 1998-02-02 10:26:33 +00:00 committed by Jeff Law
parent 1a56b81fe6
commit 9119390023
2 changed files with 7 additions and 6 deletions

View File

@ -1,5 +1,9 @@
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
"useless" code, and add a comment explaining this.

View File

@ -1885,12 +1885,9 @@ dwarf2out_frame_init ()
sake of lookup_cfa. */
#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);
initial_return_save (INCOMING_RETURN_ADDR_RTX);
}
/* On entry, the Canonical Frame Address is at SP. */
dwarf2out_def_cfa (NULL, STACK_POINTER_REGNUM, INCOMING_FRAME_SP_OFFSET);
initial_return_save (INCOMING_RETURN_ADDR_RTX);
#endif
}