diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2018-01-28 00:56:18 +0300 |
---|---|---|
committer | Cyrill Gorcunov <gorcunov@gmail.com> | 2018-02-05 20:08:10 +0300 |
commit | e0ff7b025ba5c4c469d72af9568c76c107ed0290 (patch) | |
tree | f636ac22c40fe603af8ef3f660612aa7de13b891 | |
parent | d625f85cd2a3abbdad610d222096a19368df09f9 (diff) | |
download | nasm-e0ff7b025ba5c4c469d72af9568c76c107ed0290.tar.gz |
output: elf -- Add missing dwarf loc section
Lost during elf engine unification in
4670887c4db772d2d44889fbc4509b3fb65b311f
https://bugzilla.nasm.us/show_bug.cgi?id=3392459
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
-rw-r--r-- | output/outelf.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/output/outelf.c b/output/outelf.c index c1f949da..deac27fc 100644 --- a/output/outelf.c +++ b/output/outelf.c @@ -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 */ |