From: Richard Henderson Date: Fri, 17 Nov 2000 08:53:38 +0000 (+0000) Subject: * as.c (main): Call dwarf2_finish. X-Git-Tag: gprof-pre-ansify-2004-05-26~7460 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=355c6d6581451fc98fa0753314cbed615129b6ff;p=pf3gnuchains%2Fpf3gnuchains4x.git * as.c (main): Call dwarf2_finish. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index f73c3f4149..5929028f22 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,6 +1,7 @@ 2000-11-17 Richard Henderson * as.c (debug_type): Init to DEBUG_UNSPECIFIED. + (main): Call dwarf2_finish. * as.h (debug_type): Clarify documentation of the meaning of this variable. * dwarf2dbg.c (DWARF2_LINE_MIN_INSN_LENGTH): Default to 1. diff --git a/gas/as.c b/gas/as.c index 4878fcf6f7..61eea131c5 100644 --- a/gas/as.c +++ b/gas/as.c @@ -885,6 +885,10 @@ main (argc, argv) md_end (); #endif + /* If we've been collecting dwarf2 .debug_line info, either for + assembly debugging or on behalf of the compiler, emit it now. */ + dwarf2_finish (); + if (seen_at_least_1_file () && (flag_always_generate_output || had_errors () == 0)) keep_it = 1;