[mips] Expand JAL instructions when PIC is enabled.
authorDaniel Sanders <daniel.sanders@imgtec.com>
Tue, 18 Aug 2015 16:18:09 +0000 (16:18 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Tue, 18 Aug 2015 16:18:09 +0000 (16:18 +0000)
commit68145574160aa0f17903e2ed36df568b90443f7e
tree6ff6cc68255ca5e78016ae0f9a27850703589c18
parent95f5735fb0ef826a3605714b27e4787ef2ae441b
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245305 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/AsmParser/MipsAsmParser.cpp
test/ExecutionEngine/RuntimeDyld/Mips/ELF_Mips64r2N64_PIC_relocations.s
test/MC/Mips/expansion-jal-sym-pic.s [new file with mode: 0644]
test/MC/Mips/set-nomacro.s