* config/tc-sparc.c (md_pseudo_table): Add .file and .loc.
[binutils-gdb.git] / gas / dwarf2dbg.c
index faa9ceeaa55278ff8e135e9fac8856e9e2b72488..b09b8dbc2e376b17a52efde7028f484bb6eff23c 100644 (file)
@@ -444,6 +444,10 @@ dwarf2_gen_line_info (addr, l)
     /* No filename, no filnum => no play.  */
     return;
 
+  /* Early out for as-yet incomplete location information.  */
+  if (l->line == 0)
+    return;
+
   /* Must save these before the subseg_new call, as that call will change
      them.  */
   saved_seg = now_seg;