mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-09-22 10:43:39 -04:00
output: outelf,dwarf -- Add missing DW_LNS_copy
Backport of master commit ed347369ae
https://bugzilla.nasm.us/show_bug.cgi?id=3392325
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
@@ -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;
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user