[lld-macho] Support X86_64_RELOC_BRANCH
authorJez Ng <jezng@fb.com>
Wed, 29 Apr 2020 22:42:45 +0000 (15:42 -0700)
committerShoaib Meenai <smeenai@fb.com>
Wed, 29 Apr 2020 22:45:01 +0000 (15:45 -0700)
commite82c5e17b58fdbb096fa408092d7629b2b6e26f9
treec439f2f239092fa3e190c29690ea9b9328e670ce
parentdf92377823d153ee3049060560771a2199712a9c
[lld-macho] Support X86_64_RELOC_BRANCH

Relatively straightforward diff, to set the stage for calling functions
in dylibs.

Differential Revision: https://reviews.llvm.org/D78269
lld/MachO/Arch/X86_64.cpp
lld/test/MachO/relocations.s