From: nasm-bot f. C. G. <gor...@gm...> - 2018-02-05 17:12:31
|
Commit-ID: e0ff7b025ba5c4c469d72af9568c76c107ed0290 Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=e0ff7b025ba5c4c469d72af9568c76c107ed0290 Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Sun, 28 Jan 2018 00:56:18 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Mon, 5 Feb 2018 20:08:10 +0300 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 <gor...@gm...> --- output/outelf.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/output/outelf.c b/output/outelf.c index c1f949d..deac27f 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 */ |