outmacho: Fix relative relocations for 32-bit Mach-O
commit84f6860ed53492976c9d79e9a8a0bdc60da78bc6
authorZenith432 <zenith432@users.sourceforge.net>
Mon, 9 May 2016 18:16:10 +0000 (9 11:16 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Mon, 9 May 2016 18:16:10 +0000 (9 11:16 -0700)
tree29807a9a8f6409a22b338a1f8c8b9490a7132efc
parentccb16787d5210596bd6e54305898868ba79379fc
outmacho: Fix relative relocations for 32-bit Mach-O

IP-relative relocations were broken for 32-bit Mach-O when referencing
external symbols after the Mach-O backends were merged.

This fixes bug reports 33923483392352, and 3392346.

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