don't do dwarf2 eh if not DWARF2_UNWIND_INFO

This commit is contained in:
mrg 2001-07-19 23:41:12 +00:00
parent b3edeb5745
commit b82cf772de

View File

@ -6278,8 +6278,10 @@ function_prologue (file, size)
fprintf (file, "\t.cprestore %ld\n", current_frame_info.args_size); fprintf (file, "\t.cprestore %ld\n", current_frame_info.args_size);
} }
#ifdef DWARF2_UNWIND_INFO
if (dwarf2out_do_frame ()) if (dwarf2out_do_frame ())
dwarf2out_def_cfa ("", STACK_POINTER_REGNUM, tsize); dwarf2out_def_cfa ("", STACK_POINTER_REGNUM, tsize);
#endif
} }
} }