]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
For ODR checking, when we see two .lloc directives in a row, output them both.
authorCary Coutant <ccoutant@google.com>
Fri, 30 Jan 2015 12:16:46 +0000 (04:16 -0800)
committerCary Coutant <ccoutant@google.com>
Fri, 30 Jan 2015 12:16:46 +0000 (04:16 -0800)
2015-01-30  Cary Coutant  <ccoutant@google.com>

gas/
* dwarf2dbg.c (dwarf2_directive_loc): Always emit extra .lloc.

gas/dwarf2dbg.c

index 5ab309828a5a72b8a4a73d3a5363d6d5d2c92d99..dfd3d6350ed6e0b58344595b2f756c3df2911342 100644 (file)
@@ -831,7 +831,7 @@ dwarf2_directive_loc (int is_lloc)
 
   /* If we see two .loc directives in a row, force the first one to be
      output now.  */
-  if (!is_new_logical && dwarf2_loc_directive_seen)
+  if (dwarf2_loc_directive_seen)
     dwarf2_emit_insn (0);
 
   if (is_lloc && !is_new_logical)