diff --git a/output/outelf32.c b/output/outelf32.c index b1596c90..b63ea9d0 100644 --- a/output/outelf32.c +++ b/output/outelf32.c @@ -1716,6 +1716,7 @@ static void dwarf32_output(int type, void *param) saa_write8(plinep,DW_LNS_advance_pc); saa_wleb128u(plinep,aa); } + saa_write8(plinep,DW_LNS_copy); } dwarf_csect->line = currentline; dwarf_csect->offset = s->offset; diff --git a/output/outelf64.c b/output/outelf64.c index 878c8e49..d0071502 100644 --- a/output/outelf64.c +++ b/output/outelf64.c @@ -1806,6 +1806,7 @@ static void dwarf64_output(int type, void *param) saa_write8(plinep,DW_LNS_advance_pc); saa_wleb128u(plinep,aa); } + saa_write8(plinep,DW_LNS_copy); } dwarf_csect->line = currentline; dwarf_csect->offset = s->offset;