[Nasm-bugs] [Bug 3392608] multi-section bin format: two sections following the same section, one implicitly, gives wrong error message
noreply-nasm at gorcunov.org
noreply-nasm at gorcunov.org
Mon Sep 9 13:34:37 PDT 2019
https://bugzilla.nasm.us/show_bug.cgi?id=3392608
C. Masloch <pushbx at ulukai.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pushbx at ulukai.org
--- Comment #1 from C. Masloch <pushbx at ulukai.org> ---
I tried something else. Same error message, but I'm not sure what to make of it
in this case. It seems wrong. (Maybe the follows=DATAEND before defining that
section is silently downgraded to "follows=DATA2" and thus hits the error
again?)
$ newnasm test2.asm
test2.asm: fatal: sections DATA3 and DATA3 can't both follow section DATA2
$ cat test2.asm
section FAT
start_fat:
section DATA1 follows=FAT
start_data1:
section DATA2 follows=DATA1
start_data2:
section FREE follows=DATAEND
start_free:
section DATA3 follows=DATA2
start_data3:
section DATAEND follows=DATA3
start_dataend:
$ nasm -v
NASM version 2.12.01
$ nasm test2.asm
nasm: fatal: sections DATA3 and DATA3 can't both follow section DATA2
$ newnasm -v
NASM version 2.15rc0 compiled on Aug 21 2019
$ newnasm test2.asm
test2.asm: fatal: sections DATA3 and DATA3 can't both follow section DATA2
$
--
You are receiving this mail because:
You are watching all bug changes.
You are on the CC list for the bug.
More information about the Nasm-bugs
mailing list