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

noreply-nasm at gorcunov.org noreply-nasm at gorcunov.org
Sun Jul 28 11:15:50 PDT 2019


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

--- Comment #56 from H. Peter Anvin <hpa at zytor.com> ---
I still think this is heading in the wrong direction, and will get really hard
to get accepted upstream.

gas is a very low-level assembler, so it is not likely you are going to get a
lot of direct support for doing things programmer-transparently. However, other
than the .reloc hacks (which are only needed because I have made *zero* changes
to gas) everything should be doable with pure textual substitution.

gas still needs to get support for actual SEG16 as SUB relocations; the way
that is normally done in gas is using syntax like sym at SEG16 and (sym - sym!);
it is probably possible to come up with some kind of syntactic sugar for the
latter, but all of it is purely textual transformation.

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