MC/Mach-O/x86_64: Fix PCrel adjustment for x86_64, which was using the fixup
authorDaniel Dunbar <daniel@zuster.org>
Tue, 11 May 2010 23:53:11 +0000 (23:53 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Tue, 11 May 2010 23:53:11 +0000 (23:53 +0000)
commitdb4c7e606f6bcc42ed8d853be5d67dfb9fa0edee
tree96bac3249b0e50e0de7a197fdcb57222787291bf
parent640e948f09c56419b57dfb276d41e03060db6ad8
MC/Mach-O/x86_64: Fix PCrel adjustment for x86_64, which was using the fixup
offset instead of the fixup address as intended.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103527 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MachObjectWriter.cpp
test/MC/MachO/darwin-x86_64-reloc.s