[llvm] r217329 - [MCJIT] Revert partial RuntimeDyldELF cleanup that was prematurely committed in
Lang Hames
lhames at gmail.com
Sat Sep 6 21:13:14 PDT 2014
Author: lhames
Date: Sat Sep 6 23:13:13 2014
New Revision: 217329
URL: http://llvm.org/viewvc/llvm-project?rev=217329&view=rev
Log:
[MCJIT] Revert partial RuntimeDyldELF cleanup that was prematurely committed in
r217328.
Modified:
llvm/trunk/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
Modified: llvm/trunk/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp?rev=217329&r1=217328&r2=217329&view=diff
==============================================================================
--- llvm/trunk/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp (original)
+++ llvm/trunk/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp Sat Sep 6 23:13:13 2014
@@ -1034,11 +1034,11 @@ relocation_iterator RuntimeDyldELF::proc
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);
More information about the llvm-commits
mailing list