[Nasm-bugs] [Bug 3392533] Considerations for segment support in ELF
noreply-nasm at gorcunov.org
noreply-nasm at gorcunov.org
Tue Jul 30 02:11:38 PDT 2019
https://bugzilla.nasm.us/show_bug.cgi?id=3392533
--- Comment #69 from H. Peter Anvin <hpa at zytor.com> ---
I just pushed gas support for symbol subtraction (to generate SUBxx
relocations) into my binutils tree.
That is, one can now specify, say:
mov (foo - "foo!"), %ax
... and get R_386_16 followed by R_386_SUB16 (or R_386_32 followed by
R_386_SUB32 if applicable.)
It should work anywhere there is a symbol, pretty much.
--
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