summaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorhainque <hainque@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-31 14:33:51 +0000
committerhainque <hainque@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-31 14:33:51 +0000
commit24cf2fd3090d7dd5dbd5542437959e01f26d9cac (patch)
tree34f59367956a973f2f314c8365b0164c7a4b0ff0 /gcc/dwarf2out.c
parent19f5eed0db5a801848c24b750a0f21158715eae8 (diff)
downloadgcc-24cf2fd3090d7dd5dbd5542437959e01f26d9cac.tar.gz
* dwarf2out.c (dwarf2out_frame_finish): Honor DWARF2_FRAME_INFO
defined and non-zero. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97319 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 3f340ba2652..70ad88749aa 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -2468,7 +2468,12 @@ void
dwarf2out_frame_finish (void)
{
/* Output call frame information. */
- if (write_symbols == DWARF2_DEBUG || write_symbols == VMS_AND_DWARF2_DEBUG)
+ if (write_symbols == DWARF2_DEBUG
+ || write_symbols == VMS_AND_DWARF2_DEBUG
+#ifdef DWARF2_FRAME_INFO
+ || DWARF2_FRAME_INFO
+#endif
+ )
output_call_frame_info (0);
#ifndef TARGET_UNWIND_INFO