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
This commit is contained in:
Richard Henderson 2001-08-14 12:12:34 -07:00 committed by Richard Henderson
parent eb20f66836
commit ddee9e8d0d
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2001-08-14 Richard Henderson <rth@redhat.com>
* dwarf2out.c (dwarf2out_frame_finish): Never emit .eh_frame
if USING_SJLJ_EXCEPTIONS.
2001-08-14 Steve Ellcey <sje@cup.hp.com>
* tlink.c (scan_linker_output): Check string for unsatisfied in

View File

@ -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
}