macho/reloc: Simplified relocation for REL/BRANCH
commit4cbbb3940d8f1b63b8d5e7c48731830dfcb6c49a
authorChang S. Bae <changseok.bae@gmail.com>
Tue, 9 Oct 2018 01:49:50 +0000 (8 18:49 -0700)
committerCyrill Gorcunov <gorcunov@gmail.com>
Tue, 9 Oct 2018 07:22:45 +0000 (9 10:22 +0300)
tree49c28a7cd49fde353f5c83be4e5d9e8d031e203b
parentbffd2b7deffd9060159cd816db561ed2f89baf06
macho/reloc: Simplified relocation for REL/BRANCH

It seems like the relocation for the relative reference
to absolute addresses only cares external reference info.
Instead of exiting, reset the external reference flag.

Based-on-code-from: zenith432 <zenith432@users.sourceforge.net>
Signed-off-by: Chang S. Bae <changseok.bae@gmail.com>
output/outmacho.c