MC/Mach-O: For PCrel relocations, we need to compensate for the PCrel adjustment...
authorDaniel Dunbar <daniel@zuster.org>
Tue, 9 Mar 2010 21:27:58 +0000 (21:27 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Tue, 9 Mar 2010 21:27:58 +0000 (21:27 +0000)
commitf3a066f7c3ef4e729c92929acab352a93f8d7563
treeb8f1cb4ce987581be42a2369851b2b085859ab08
parentaef9d7af69913740f313c5cc1dfe2a8e1d352227
MC/Mach-O: For PCrel relocations, we need to compensate for the PCrel adjustment when determining if we need a scattered relocation.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98082 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCAssembler.cpp
test/MC/MachO/reloc-pcrel.s [new file with mode: 0644]