outmacho: always use symbol-relative relocations for MachO64
commit58d2ab176f7913eed965303aadfa2c19395ace65
authorH. Peter Anvin <hpa@linux.intel.com>
Fri, 23 Jun 2017 06:36:34 +0000 (22 23:36 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 23 Jun 2017 06:36:34 +0000 (22 23:36 -0700)
tree61d5b30210693b445a106b6f67dfe4f91ac13445
parent1669cb04a54b3beb9f4a9e9570d4d9eb62418ef0
outmacho: always use symbol-relative relocations for MachO64

It seems that the MachO64 linker really doesn't like segment-relative
relocations under certain circumstances, so force relocations to be converted
to "external" (symbol-relative); error out if no symbol is available
(if this is a problem, we can consider inserting a synthetic symbol if
necessary.)

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
output/outmacho.c