diff options
Diffstat (limited to 'gcc/final.c')
-rw-r--r-- | gcc/final.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/gcc/final.c b/gcc/final.c index 57d34f5..64a4241 100644 --- a/gcc/final.c +++ b/gcc/final.c @@ -1583,12 +1583,9 @@ final_start_function (first, file, optimize) last_linenum = high_block_linenum = high_function_linenum = NOTE_LINE_NUMBER (first); -#if defined (DWARF2_UNWIND_INFO) || defined (DWARF2_DEBUGGING_INFO) - /* Output DWARF definition of the function. */ - if (dwarf2out_do_frame ()) - dwarf2out_begin_prologue (); - else - current_function_func_begin_label = 0; +#if defined (DWARF2_UNWIND_INFO) || defined (IA64_UNWIND_INFO) \ + || defined (DWARF2_DEBUGGING_INFO) + dwarf2out_begin_prologue (); #endif /* For SDB and XCOFF, the function beginning must be marked between @@ -1811,10 +1808,6 @@ final_end_function (first, file, optimize) bb_func_label_num = -1; /* not in function, nuke label # */ -#ifdef IA64_UNWIND_INFO - output_function_exception_table (); -#endif - /* If FUNCTION_EPILOGUE is not defined, then the function body itself contains return instructions wherever needed. */ } |