* as.c (main): Call dwarf2_finish.
authorRichard Henderson <rth@redhat.com>
Fri, 17 Nov 2000 08:53:38 +0000 (08:53 +0000)
committerRichard Henderson <rth@redhat.com>
Fri, 17 Nov 2000 08:53:38 +0000 (08:53 +0000)
gas/ChangeLog
gas/as.c

index f73c3f414926b4153f0f1ef385d5e3e209de55b2..5929028f22e25e70e3c80d0901ab97ecac573e3c 100644 (file)
@@ -1,6 +1,7 @@
 2000-11-17  Richard Henderson  <rth@redhat.com>
 
        * 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.
index 4878fcf6f794e804e7fb2c9738b72925335f383e..61eea131c5cff35f6d8eace5978cd20f2926d148 100644 (file)
--- 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;