[Nasm-bugs] [Bug 3392571] inter-section call doesn't cause error or warning
noreply-nasm at dev.nasm.us
noreply-nasm at dev.nasm.us
Sun Oct 15 08:02:34 PDT 2023
https://bugzilla.nasm.us/show_bug.cgi?id=3392571
--- Comment #18 from E. C. Masloch <pushbx at ulukai.org> ---
The wording of the warning may be a little odd for reloc-abs-*. Note that dw
foo is not "section-crossing" as I understand it (both the dw and the foo label
are in section foo), but it does emit an OUT_ADDRESS hence this warning
displays. So I would suggest rewording the abs warnings.
$ cat test.asm
section foo
foo:
dw bar
dw foo
section bar
bar:
$ nasm test.asm -w+reloc
test.asm:4: warning: 16-bit absolute section-crossing relocation
[-w+reloc-abs-word]
test.asm:5: warning: 16-bit absolute section-crossing relocation
[-w+reloc-abs-word]
$
--
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
More information about the Nasm-bugs
mailing list