From: nasm-bot f. C. G. <gor...@gm...> - 2018-01-27 21:57:31
|
Commit-ID: 70c439b8de78595e9a465e3907aa282aa9c82984 Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=70c439b8de78595e9a465e3907aa282aa9c82984 Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Sun, 28 Jan 2018 00:56:18 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sun, 28 Jan 2018 00:56:18 +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 c0b37e4..4d04761 100644 --- a/output/outelf.c +++ b/output/outelf.c @@ -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 */ |