0
0
mirror of https://github.com/netwide-assembler/nasm.git synced 2025-07-24 10:25:42 -04:00

output: outelf,dwarf -- Add missing DW_LNS_copy

Backport of master commit ed347369aeeb6ff7338249a967bd292ee78debc5

https://bugzilla.nasm.us/show_bug.cgi?id=3392325

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
Cyrill Gorcunov 2016-11-06 18:35:14 +03:00
parent 4d79eed7b7
commit 48fe2eea27
2 changed files with 2 additions and 0 deletions

View File

@ -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;

View File

@ -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;