From: Cary Coutant Date: Fri, 30 Jan 2015 12:16:46 +0000 (-0800) Subject: For ODR checking, when we see two .lloc directives in a row, output them both. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3759731e0335ea593361c4280587ee6b29f148f;p=thirdparty%2Fbinutils-gdb.git For ODR checking, when we see two .lloc directives in a row, output them both. 2015-01-30 Cary Coutant gas/ * dwarf2dbg.c (dwarf2_directive_loc): Always emit extra .lloc. --- diff --git a/gas/dwarf2dbg.c b/gas/dwarf2dbg.c index 5ab309828a5..dfd3d6350ed 100644 --- a/gas/dwarf2dbg.c +++ b/gas/dwarf2dbg.c @@ -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)