From: nasm-bot f. C. G. <gor...@gm...> - 2016-11-06 15:39:24
|
Commit-ID: 48fe2eea2743f8beb1e07e1bf0fb4b74ecab5426 Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=48fe2eea2743f8beb1e07e1bf0fb4b74ecab5426 Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Sun, 6 Nov 2016 18:35:14 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sun, 6 Nov 2016 18:38:34 +0300 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 <gor...@gm...> --- output/outelf32.c | 1 + output/outelf64.c | 1 + 2 files changed, 2 insertions(+) diff --git a/output/outelf32.c b/output/outelf32.c index b1596c9..b63ea9d 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 878c8e4..d007150 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; |