summaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorpbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-12 13:45:44 +0000
committerpbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-12 13:45:44 +0000
commita28008f5241abbf9a0a49b96de1a465015c97a41 (patch)
treebd41be2b2f277347ec7c659f2f715a77957204c4 /gcc/dwarf2out.c
parentaba5949f3a8ed2d9b69f27a0ca615a3a85fff681 (diff)
downloadgcc-a28008f5241abbf9a0a49b96de1a465015c97a41.tar.gz
* dwarf2out.h (dwarf2out_frame_finish): Conditionalize outputting eh
frame info. * doc/tm.texi: Document interaction between TARGET_UNWIND_INFO and DWARF2_UNWIND_INFO. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85871 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 242a653b278..4d9a1b2b25e 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -2458,8 +2458,11 @@ dwarf2out_frame_finish (void)
if (write_symbols == DWARF2_DEBUG || write_symbols == VMS_AND_DWARF2_DEBUG)
output_call_frame_info (0);
+#ifndef TARGET_UNWIND_INFO
+ /* Output another copy for the unwinder. */
if (! USING_SJLJ_EXCEPTIONS && (flag_unwind_tables || flag_exceptions))
output_call_frame_info (1);
+#endif
}
#endif