[Nasm-bugs] [Bug 3392408] Self-relative expressions on macho64

no-reply at bugzilla-nasm.gorcunov.org no-reply at bugzilla-nasm.gorcunov.org
Thu Jun 22 22:02:12 PDT 2017


--- Comment #11 from H. Peter Anvin <hpa at zytor.com> ---
It does not seem to be requirement that the X86_64_RELOC_UNSIGNED relocation is
a symbol, but the X86_64_RELOC_SUBTRACTOR has to be.

Curiouser and curiouser.

In short, the MacOS X linker seems to have specific requirements for what it
expects to see, without which it will either error out or produce invalid
output.  These requirements are beyond what is documented in the Mach-O spec.

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