[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)
commit9720283e994c6c3187cff8724bf0c2ed59d04f8c
tree9044d2123f55226de7b7b33e074b8807ff3aea22
parentfb7d5b8384a58fcf59518273e8aeade078acd44b
[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

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