diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2016-11-06 18:35:14 +0300 |
---|---|---|
committer | Cyrill Gorcunov <gorcunov@gmail.com> | 2016-11-06 18:38:34 +0300 |
commit | 48fe2eea2743f8beb1e07e1bf0fb4b74ecab5426 (patch) | |
tree | 5f9e52004fc6800ab133def55437adb907519147 | |
parent | 4d79eed7b7f0c7959084a67b821485ae587aa480 (diff) | |
download | nasm-48fe2eea2743f8beb1e07e1bf0fb4b74ecab5426.tar.gz |
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>
-rw-r--r-- | output/outelf32.c | 1 | ||||
-rw-r--r-- | output/outelf64.c | 1 |
2 files changed, 2 insertions, 0 deletions
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; |