macho/reloc: Fixed in handling GOT/GOTLOAD/TLV relocations
commite859ece3784245b1bd19f19bacc1f510f84c8d07
authorChang S. Bae <changseok.bae@gmail.com>
Tue, 9 Oct 2018 01:49:51 +0000 (8 18:49 -0700)
committerCyrill Gorcunov <gorcunov@gmail.com>
Tue, 9 Oct 2018 07:22:49 +0000 (9 10:22 +0300)
tree8b539e68c5af2f435de13a371c3ca6477ebdf64b
parent4cbbb3940d8f1b63b8d5e7c48731830dfcb6c49a
macho/reloc: Fixed in handling GOT/GOTLOAD/TLV relocations

- Changed to search all symbols, instead of only global symbols.

- Will do immediate exits when unsupported use of WRT

- Fixed to mark (got)pcrel flag only for macho64 output. GOT is
supported only for 64-bit.

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