aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@issan.informatik.uni-dortmund.de>1998-02-02 10:26:33 +0000
committerJeff Law <law@gcc.gnu.org>1998-02-02 03:26:33 -0700
commit91193900234d9debe67efc4c5cc960dd284cfe46 (patch)
tree1bd9bee11887b173fa37e8590ddaadbb02b514ad
parent1a56b81fe618e68d80a0653a4f2cba7555a40ac8 (diff)
downloadgcc-91193900234d9debe67efc4c5cc960dd284cfe46.zip
gcc-91193900234d9debe67efc4c5cc960dd284cfe46.tar.gz
gcc-91193900234d9debe67efc4c5cc960dd284cfe46.tar.bz2
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
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/dwarf2out.c9
2 files changed, 7 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b16b450..b1af9ae 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 6fc1d11..c56aeec 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -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
}