[Nasm-bugs] [Bug 3392571] inter-section call doesn't cause error or warning

noreply-nasm at gorcunov.org noreply-nasm at gorcunov.org
Sat Aug 10 08:06:09 PDT 2019


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

C. Masloch <pushbx at 38.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|NEEDINFO                    |LATER
             Status|PENDING                     |RESOLVED

--- Comment #11 from C. Masloch <pushbx at 38.de> ---
> First of all, even if jumps are handled, there are all kinds of other memory
> references which could bite you, and there really isn't any way for NASM to
> know what should be permitted; for example, is taking the address of a symbol?

My suggestion would be purely about handling near and short branches, which are
the ones with a displacement. Other references are potentially valid, and are
generally of the absolute offset type. Whether RIP-relative addressing should
be permitted is to be determined (but I'm an 86-DOS gal so I don't care).

As for the remainder of your comment, I thank you for the explanation! If you
ever get around to working on that, let's throw my idea onto the wishlist pile.

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