[mips64][mcjit] Add N64R6 relocations tests and fix N64R2 tests
authorPetar Jovanovic <petar.jovanovic@imgtec.com>
Fri, 28 Aug 2015 18:02:53 +0000 (18:02 +0000)
committerPetar Jovanovic <petar.jovanovic@imgtec.com>
Fri, 28 Aug 2015 18:02:53 +0000 (18:02 +0000)
commit109b926df13fc926cad20cbcac23ddd5c5b05b7c
tree42ca559ba3efc138942998af87147a3958d42e09
parentca95e2ee930ca716065848bb035208194f2af86b
[mips64][mcjit] Add N64R6 relocations tests and fix N64R2 tests

This patch adds a test for MIPS64R6 relocations, it corrects check
expressions for R_MIPS_26 and R_MIPS_PC16 relocations in MIPS64R2 test, and
it adds run for big endian in MIPS64R2 test.

Patch by Vladimir Radosavljevic.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@246311 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
test/ExecutionEngine/RuntimeDyld/Mips/ELF_Mips64r2N64_PIC_relocations.s
test/ExecutionEngine/RuntimeDyld/Mips/ELF_N64R6_relocations.s [new file with mode: 0644]