diff options
author | Lang Hames <lhames@gmail.com> | 2014-09-07 04:13:13 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2014-09-07 04:13:13 +0000 |
commit | 9a891052482642a0bec64f8b32eaf44018fee3b7 (patch) | |
tree | 541b81cfd9a9899635ffde9600f82e20d72f2e8b /llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp | |
parent | ca279c229ac951227b580026dc4afea29625030a (diff) | |
download | bcm5719-llvm-9a891052482642a0bec64f8b32eaf44018fee3b7.tar.gz bcm5719-llvm-9a891052482642a0bec64f8b32eaf44018fee3b7.zip |
[MCJIT] Revert partial RuntimeDyldELF cleanup that was prematurely committed in
r217328.
llvm-svn: 217329
Diffstat (limited to 'llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp')
-rw-r--r-- | llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp index 30c849ea949..803e5cb781c 100644 --- a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp +++ b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp @@ -1034,11 +1034,11 @@ relocation_iterator RuntimeDyldELF::processRelocationRef( createStubFunction(Section.Address + Section.StubOffset); RelocationEntry REmovz_g3(SectionID, StubTargetAddr - Section.Address, - ELF::R_AARCH64_MOVW_UABS_G3, Value.Offset + Addend); + ELF::R_AARCH64_MOVW_UABS_G3, Value.Addend); RelocationEntry REmovk_g2(SectionID, StubTargetAddr - Section.Address + 4, - ELF::R_AARCH64_MOVW_UABS_G2_NC, Value.Offset + Addend); + ELF::R_AARCH64_MOVW_UABS_G2_NC, Value.Addend); RelocationEntry REmovk_g1(SectionID, StubTargetAddr - Section.Address + 8, - ELF::R_AARCH64_MOVW_UABS_G1_NC, Value.Offset + Addend); + ELF::R_AARCH64_MOVW_UABS_G1_NC, Value.Addend); RelocationEntry REmovk_g0(SectionID, StubTargetAddr - Section.Address + 12, ELF::R_AARCH64_MOVW_UABS_G0_NC, Value.Addend); |