[Mips64] Add support for MCJIT for MIPS64r2 and MIPS64r6
authorPetar Jovanovic <petar.jovanovic@imgtec.com>
Thu, 28 May 2015 13:48:41 +0000 (13:48 +0000)
committerPetar Jovanovic <petar.jovanovic@imgtec.com>
Thu, 28 May 2015 13:48:41 +0000 (13:48 +0000)
commita703f676f7354bea263bd17aed493f5977d488a0
tree16fd82966ef6e557deaf7b701e1fc98b8e33e2cf
parentb97d261a170ebbad2deed3a2d90e9bace9fc81d6
[Mips64] Add support for MCJIT for MIPS64r2 and MIPS64r6

Add support for resolving MIPS64r2 and MIPS64r6 relocations in MCJIT.

Patch by Vladimir Radosavljevic.

Differential Revision: http://reviews.llvm.org/D9667

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238424 91177308-0d34-0410-b5e6-96231b3b80d8
32 files changed:
lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h
lib/Target/Mips/TargetInfo/MipsTargetInfo.cpp
test/ExecutionEngine/MCJIT/cross-module-sm-pic-a.ll
test/ExecutionEngine/MCJIT/eh-lg-pic.ll
test/ExecutionEngine/MCJIT/eh-sm-pic.ll
test/ExecutionEngine/MCJIT/multi-module-sm-pic-a.ll
test/ExecutionEngine/MCJIT/remote/cross-module-sm-pic-a.ll
test/ExecutionEngine/MCJIT/remote/multi-module-sm-pic-a.ll
test/ExecutionEngine/MCJIT/remote/test-global-init-nonzero-sm-pic.ll
test/ExecutionEngine/MCJIT/remote/test-ptr-reloc-sm-pic.ll
test/ExecutionEngine/MCJIT/stubs-sm-pic.ll
test/ExecutionEngine/MCJIT/test-global-init-nonzero-sm-pic.ll
test/ExecutionEngine/MCJIT/test-ptr-reloc-sm-pic.ll
test/ExecutionEngine/OrcMCJIT/cross-module-sm-pic-a.ll
test/ExecutionEngine/OrcMCJIT/eh-lg-pic.ll
test/ExecutionEngine/OrcMCJIT/eh-sm-pic.ll
test/ExecutionEngine/OrcMCJIT/multi-module-sm-pic-a.ll
test/ExecutionEngine/OrcMCJIT/remote/cross-module-sm-pic-a.ll
test/ExecutionEngine/OrcMCJIT/remote/multi-module-sm-pic-a.ll
test/ExecutionEngine/OrcMCJIT/remote/test-global-init-nonzero-sm-pic.ll
test/ExecutionEngine/OrcMCJIT/remote/test-ptr-reloc-sm-pic.ll
test/ExecutionEngine/OrcMCJIT/stubs-sm-pic.ll
test/ExecutionEngine/OrcMCJIT/test-global-init-nonzero-sm-pic.ll
test/ExecutionEngine/OrcMCJIT/test-ptr-reloc-sm-pic.ll
test/ExecutionEngine/RuntimeDyld/Mips/ELF_Mips64r2N64_PIC_relocations.s [new file with mode: 0644]
test/ExecutionEngine/RuntimeDyld/Mips/Inputs/ExternalFunction.ll [new file with mode: 0644]
test/ExecutionEngine/RuntimeDyld/Mips/lit.local.cfg [new file with mode: 0644]
unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp
unittests/ExecutionEngine/MCJIT/MCJITTestBase.h