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

noreply-nasm at gorcunov.org noreply-nasm at gorcunov.org
Mon Aug 5 09:42:49 PDT 2019


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

--- Comment #90 from H. Peter Anvin <hpa at zytor.com> ---
OK, I was thinking about the protected-mode case, and protected-mode is doable
with REL relocations, but it requires the use of additional symbols and
relocations. In a lot of ways, the segment selector is a lot like a GOT entry
in that it is, in some ways, an externally resolved symbol.

So one could consider the following *nonrelaxable* relocations, i.e. they
always have to refer to a symbol without an addend, although this MAY be a
section symbol.

        R_386_SEL16    word16Selector(S)

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