aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2001-08-14 12:12:34 -0700
committerRichard Henderson <rth@gcc.gnu.org>2001-08-14 12:12:34 -0700
commitddee9e8d0d65407e8a20a70a2f17f98fe0069500 (patch)
treeb72c67dc0f486e5f067b5df69e453a0a98dfa941 /gcc/dwarf2out.c
parenteb20f668364dfc3394a8eacda1f9430d6fa7aad4 (diff)
downloadgcc-ddee9e8d0d65407e8a20a70a2f17f98fe0069500.zip
gcc-ddee9e8d0d65407e8a20a70a2f17f98fe0069500.tar.gz
gcc-ddee9e8d0d65407e8a20a70a2f17f98fe0069500.tar.bz2
dwarf2out.c (dwarf2out_frame_finish): Never emit .eh_frame if USING_SJLJ_EXCEPTIONS.
* dwarf2out.c (dwarf2out_frame_finish): Never emit .eh_frame if USING_SJLJ_EXCEPTIONS. From-SVN: r44893
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 711b1e3..5ed410a 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -2099,12 +2099,13 @@ dwarf2out_frame_finish ()
#ifdef MIPS_DEBUGGING_INFO
if (write_symbols == DWARF2_DEBUG)
output_call_frame_info (0);
- if (flag_unwind_tables || (flag_exceptions && ! USING_SJLJ_EXCEPTIONS))
+ if (! USING_SJLJ_EXCEPTIONS && (flag_unwind_tables || flag_exceptions))
output_call_frame_info (1);
#else
- if (write_symbols == DWARF2_DEBUG
- || flag_unwind_tables || (flag_exceptions && ! USING_SJLJ_EXCEPTIONS))
- output_call_frame_info (1);
+ int for_eh = (! USING_SJLJ_EXCEPTIONS
+ && (flag_unwind_tables || flag_exceptions));
+ if (write_symbols == DWARF2_DEBUG || for_eh)
+ output_call_frame_info (for_eh);
#endif
}