[lld-macho] Support X86_64_RELOC_UNSIGNED
authorJez Ng <jezng@fb.com>
Fri, 15 May 2020 19:02:40 +0000 (12:02 -0700)
committerJez Ng <jezng@fb.com>
Tue, 19 May 2020 14:46:57 +0000 (07:46 -0700)
commit1f820e35596bac036a7f759c4de41fcc2e642719
tree7992872a10fe8bdb76f153387957e3e193b9c5f6
parente270b2f1727c0fbde2676e8d0340c0d934726d3c
[lld-macho] Support X86_64_RELOC_UNSIGNED

Note that it's only used for non-pc-relative contexts.

Reviewed By: MaskRay, smeenai

Differential Revision: https://reviews.llvm.org/D80048
lld/MachO/Arch/X86_64.cpp
lld/MachO/InputFiles.cpp
lld/MachO/InputSection.cpp
lld/MachO/InputSection.h
lld/MachO/Target.h
lld/test/MachO/x86-64-reloc-unsigned.s [new file with mode: 0644]