summaryrefslogtreecommitdiffstats
path: root/llvm/test/ExecutionEngine/RuntimeDyld
diff options
context:
space:
mode:
authorNitesh Jain <nitesh.jain@imgtec.com>2017-10-22 09:47:41 +0000
committerNitesh Jain <nitesh.jain@imgtec.com>2017-10-22 09:47:41 +0000
commit757f74c2d3dcd88e49825bc752fea86417e6cb6d (patch)
tree9be24853635a69aca81781c79bc4890a3a7f74e1 /llvm/test/ExecutionEngine/RuntimeDyld
parentcf8a5c26f92e3f4dc6a35ce92c9d4dc919beaef6 (diff)
downloadbcm5719-llvm-757f74c2d3dcd88e49825bc752fea86417e6cb6d.tar.gz
bcm5719-llvm-757f74c2d3dcd88e49825bc752fea86417e6cb6d.zip
[mips] Adds support for R_MIPS_26, HIGHER, HIGHEST relocations in RuntimeDyld.
Reviewers: sdardis Subscribers: jaydeep, bhushan, llvm-commits Differential Revision: https://reviews.llvm.org/D38314 llvm-svn: 316287
Diffstat (limited to 'llvm/test/ExecutionEngine/RuntimeDyld')
-rw-r--r--llvm/test/ExecutionEngine/RuntimeDyld/Mips/ELF_Mips64r2N64_PIC_relocations.s2
-rw-r--r--llvm/test/ExecutionEngine/RuntimeDyld/Mips/ELF_N32_relocations.s2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/ExecutionEngine/RuntimeDyld/Mips/ELF_Mips64r2N64_PIC_relocations.s b/llvm/test/ExecutionEngine/RuntimeDyld/Mips/ELF_Mips64r2N64_PIC_relocations.s
index e0f69704815..fc2a277c3d2 100644
--- a/llvm/test/ExecutionEngine/RuntimeDyld/Mips/ELF_Mips64r2N64_PIC_relocations.s
+++ b/llvm/test/ExecutionEngine/RuntimeDyld/Mips/ELF_Mips64r2N64_PIC_relocations.s
@@ -44,7 +44,7 @@ bar:
sd $4, 8($fp)
# Test R_MIPS_26 relocation.
-# rtdyld-check: decode_operand(insn1, 0)[27:0] = foo[27:0]
+# rtdyld-check: decode_operand(insn1, 0)[27:0] = stub_addr(test_ELF_Mips64N64.o, .text, foo)[27:0]
insn1:
.option pic0
jal foo
diff --git a/llvm/test/ExecutionEngine/RuntimeDyld/Mips/ELF_N32_relocations.s b/llvm/test/ExecutionEngine/RuntimeDyld/Mips/ELF_N32_relocations.s
index 2f6df4cde17..942979d645c 100644
--- a/llvm/test/ExecutionEngine/RuntimeDyld/Mips/ELF_N32_relocations.s
+++ b/llvm/test/ExecutionEngine/RuntimeDyld/Mips/ELF_N32_relocations.s
@@ -44,7 +44,7 @@ bar:
sd $4, 8($fp)
# Test R_MIPS_26 relocation.
-# rtdyld-check: decode_operand(insn1, 0)[27:0] = foo[27:0]
+# rtdyld-check: decode_operand(insn1, 0)[27:0] = stub_addr(test_ELF_N32.o, .text, foo)[27:0]
insn1:
.option pic0
jal foo
OpenPOWER on IntegriCloud