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

noreply-nasm at gorcunov.org noreply-nasm at gorcunov.org
Tue Nov 27 14:29:12 PST 2018


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

--- Comment #1 from stsp at list.ru ---
This patch:
https://github.com/PerditionC/fdkernel/commit/7bf4b7723316f36bef3832a63fa858f3f0420476
can be used as a reference of what have to be
changed to port existing code to elf.
They removed "wrt", "SEG", "group".
Did some tricks with "class". Replaced "jmp far func" with
"jmp far DGROUP:func" etc. This patch clearly shows the
needed mapping.

My question is: does this all really need an elf extensions?
Because to me it looks that these things can be
implemented on an nasm level. For example "wrt"
just seems to involve the different seg/off calculus -
does it really need an elf extension?
"jmp far sym" vs "jmp far DGROUP:sym" is just a
way of adding the default segment to jmp. Can't
this easily be solved on a nasm level? Etc.

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