* dwarf2dbg.c (dwarf2_emit_label): Use dwarf2_consume_line_info.
authorBob Wilson <bob.wilson@acm.org>
Mon, 19 Nov 2007 19:33:23 +0000 (19:33 +0000)
committerBob Wilson <bob.wilson@acm.org>
Mon, 19 Nov 2007 19:33:23 +0000 (19:33 +0000)
gas/ChangeLog
gas/dwarf2dbg.c

index 835b56f3faa60b2baa3100e8eda9f96cb72288d2..cbdaa3d6ba6cd39a2039f872a6f396ca451672e9 100644 (file)
@@ -1,3 +1,7 @@
+2007-11-19  Bob Wilson  <bob.wilson@acm.org>
+       
+       * dwarf2dbg.c (dwarf2_emit_label): Use dwarf2_consume_line_info.
+       
 2007-11-19  Bob Wilson  <bob.wilson@acm.org>
        
        * dwarf2dbg.c (dwarf2_consume_line_info): New.
index 97a60c7883a7b1e557e3413d7463418b39c3e99a..96da797e606a333a8cf957f1b2c910bb0edaebd5 100644 (file)
@@ -419,17 +419,11 @@ dwarf2_emit_label (symbolS *label)
   if (debug_type == DEBUG_DWARF2)
     dwarf2_where (&loc);
   else
-    {
-      loc = current;
-      loc_directive_seen = FALSE;
-    }
+    loc = current;
 
   loc.flags |= DWARF2_FLAG_BASIC_BLOCK;
 
-  current.flags &= ~(DWARF2_FLAG_BASIC_BLOCK
-                    | DWARF2_FLAG_PROLOGUE_END
-                    | DWARF2_FLAG_EPILOGUE_BEGIN);
-
+  dwarf2_consume_line_info ();
   dwarf2_gen_line_info_1 (label, &loc);
 }