MC/Mach-O: Use the SECTDIFF relocation type for (A - B + constant) where A is external.
authorDaniel Dunbar <daniel@zuster.org>
Wed, 10 Mar 2010 00:58:25 +0000 (00:58 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Wed, 10 Mar 2010 00:58:25 +0000 (00:58 +0000)
commita015c1c876bb74a83cbbae06449056e0c6f0e9c9
tree1706557373cac775780582feffc791063c660348
parent7c617b5e53987d786451dd668b5113f2e2b983f8
MC/Mach-O: Use the SECTDIFF relocation type for (A - B + constant) where A is external.
 - I'm not sure why, but this is what 'as' does.

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