mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-21 03:14:19 +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
c90d99a655
commit
70c439b8de
@ -3274,6 +3274,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