diff options
| author | Daniel Sanders <daniel.sanders@imgtec.com> | 2015-08-18 16:18:09 +0000 |
|---|---|---|
| committer | Daniel Sanders <daniel.sanders@imgtec.com> | 2015-08-18 16:18:09 +0000 |
| commit | 63f4a5dcad0854b4a712e63f1c72a11054fb8973 (patch) | |
| tree | 109038f5328df605ffbe67b242dc72fd27ffa6ee /llvm/test/ExecutionEngine | |
| parent | c5635a6af7c643169f81145bfae8c895f2207792 (diff) | |
| download | bcm5719-llvm-63f4a5dcad0854b4a712e63f1c72a11054fb8973.tar.gz bcm5719-llvm-63f4a5dcad0854b4a712e63f1c72a11054fb8973.zip | |
[mips] Expand JAL instructions when PIC is enabled.
Summary: This is the correct way to handle JAL instructions when PIC is enabled.
Patch by Toma Tabacu
Reviewers: seanbruno, tomatabacu
Subscribers: brooks, seanbruno, emaste, llvm-commits
Differential Revision: http://reviews.llvm.org/D6231
llvm-svn: 245305
Diffstat (limited to 'llvm/test/ExecutionEngine')
| -rw-r--r-- | llvm/test/ExecutionEngine/RuntimeDyld/Mips/ELF_Mips64r2N64_PIC_relocations.s | 2 |
1 files changed, 2 insertions, 0 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 1d8d293a26a..4d71b641025 100644 --- a/llvm/test/ExecutionEngine/RuntimeDyld/Mips/ELF_Mips64r2N64_PIC_relocations.s +++ b/llvm/test/ExecutionEngine/RuntimeDyld/Mips/ELF_Mips64r2N64_PIC_relocations.s @@ -41,7 +41,9 @@ bar: # Test R_MIPS_26 relocation. # rtdyld-check: decode_operand(insn1, 0)[25:0] = foo insn1: + .option pic0 jal foo + .option pic2 nop # Test R_MIPS_PC16 relocation. |

