[Nasm-bugs] [Bug 3392797] Invalid addressing mode with "rel" simply disregards rel

noreply-nasm at dev.nasm.us noreply-nasm at dev.nasm.us
Mon Apr 18 07:55:36 PDT 2022


https://bugzilla.nasm.us/show_bug.cgi?id=3392797

H. Peter Anvin <hpa at zytor.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |minor

--- Comment #2 from H. Peter Anvin <hpa at zytor.com> ---
You are not wrong; this is undesirable when there is an explicit "rel" in the
EA. Currently NASM doesn't distinguish this case from "default rel" (which is
the normal case and probably should be made the default); this is something
that should be fixed. In other to not break existing code and be since there is
a reasonable way to generate code anyway, this should be a warning rather than
an error, but have its own warning class so it can be promoted to an error if
desired.

-- 
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