From b3759731e0335ea593361c4280587ee6b29f148f Mon Sep 17 00:00:00 2001 From: Cary Coutant Date: Fri, 30 Jan 2015 04:16:46 -0800 Subject: [PATCH] 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. --- gas/dwarf2dbg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.47.2