output: macho -- Avoid conversion of addresses to RAWDATA
commit427d8e3e57b68370daa143c3e501df9c23e9869f
authorChang S. Bae <chang.seok.bae@intel.com>
Wed, 2 May 2018 15:07:52 +0000 (2 08:07 -0700)
committerCyrill Gorcunov <gorcunov@gmail.com>
Sat, 5 May 2018 20:44:33 +0000 (5 23:44 +0300)
treedaaa1cbdb46dedda3059e388b8bc41b44af20d68
parent69ed82447a13a22e52a86a51a5657c7955a6767b
output: macho -- Avoid conversion of addresses to RAWDATA

Without relocation, the linker may do erroneous dead strip.
For the relocation, the conversion of addresses to RAWDATA
should be avoided for Mach-O.

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

Reported-by: Andrew Fish <afish@apple.com>
Signed-off-by: Chang S. Bae <chang.seok.bae@intel.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
asm/assemble.c
include/nasm.h
output/outmacho.c