MC/Mach-O: For PCrel relocations, we need to compensate for the PCrel adjustment...
commit3e6bbdd0a0902b00c59a5d23967ab81eea9c0a83
authorDaniel Dunbar <daniel@zuster.org>
Tue, 9 Mar 2010 21:27:58 +0000 (9 21:27 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Tue, 9 Mar 2010 21:27:58 +0000 (9 21:27 +0000)
treeb8f1cb4ce987581be42a2369851b2b085859ab08
parent51c2f9cfc9865108178b7bbafa712011a9d937ac
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]