mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-27 08:10:07 +08:00
output: elf -- Add missing dwarf loc section
Lost during elf engine unification in
4670887c4d
https://bugzilla.nasm.us/show_bug.cgi?id=3392459
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
parent
d625f85cd2
commit
e0ff7b025b
@ -3255,6 +3255,9 @@ static void dwarf_generate(void)
|
||||
if (is_elf32()) {
|
||||
WRITELONG(pbuf,0); /* null beginning offset */
|
||||
WRITELONG(pbuf,0); /* null ending offset */
|
||||
} else if (is_elfx32()) {
|
||||
WRITELONG(pbuf,0); /* null beginning offset */
|
||||
WRITELONG(pbuf,0); /* null ending offset */
|
||||
} else {
|
||||
nasm_assert(is_elf64());
|
||||
WRITEDLONG(pbuf,0); /* null beginning offset */
|
||||
|
Loading…
Reference in New Issue
Block a user