[Nasm-bugs] [Bug 3392533] Considerations for segment support in ELF

noreply-nasm at gorcunov.org noreply-nasm at gorcunov.org
Tue Jul 30 11:40:36 PDT 2019


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

--- Comment #70 from H. Peter Anvin <hpa at zytor.com> ---
So, ok, there are a few cases where you don't want to subtract the segment
base:

1. Direct jmp, jcc, or call (but not ljmp or lcall);
2. If you for some reason implement PIC, then a PIC offset.

gcc already have to treat these specially; I find it hard to believe it would
be a significant burden to handle these subcases. However, if it *is* a problem
I think it can be resolved; it is mostly a matter of parsing.

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