[MCJIT][SystemZ] Use a simpler expression for indirect relocation offsets.
authorLang Hames <lhames@gmail.com>
Mon, 25 Aug 2014 23:33:48 +0000 (23:33 +0000)
committerLang Hames <lhames@gmail.com>
Mon, 25 Aug 2014 23:33:48 +0000 (23:33 +0000)
commit9fe621a69e302cbce755fdc486e9d97778a7ba64
treef581bcdc08f4cdc5853220c0c437f82a56a79e29
parentc33fe1b2961169cb0e8ffd92dc67a9328af348f3
[MCJIT][SystemZ] Use a simpler expression for indirect relocation offsets.

The expressions 'Reloc.Addend - Addend' and 'Reloc.Offset' should always be
equal in this context. The latter is prefered - we want to remove the
RelocationValueRef::Addend field in the future.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216418 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp