llvm-project/llvm/test/ExecutionEngine/RuntimeDyld/PowerPC
Hiroshi Inoue 3872c6c633 [PowerPC] fix broken JIT-compiled code with tail call optimization
The relocation for branch instructions in the dynamic loader of ExecutionEngine assumes branch instructions with R_PPC64_REL24 relocation type are only bl. However, with the tail call optimization, b instructions can be also used to jump into another function.
This patch makes the relocation to keep bits in the branch instruction other than the jump offset to avoid relocation rewrites a b instruction into bl.

Differential Revision: https://reviews.llvm.org/D47456

llvm-svn: 333502
2018-05-30 04:48:29 +00:00
..
Inputs [RuntimeDyld][PowerPC] Add a test case for r329335. 2018-04-05 21:56:55 +00:00
lit.local.cfg
ppc32_elf_rel_addr16.s
ppc64_elf.s [RuntimeDyld][PowerPC] Fix a newly added test in r329355 2018-04-09 14:29:23 +00:00
ppc64_reloc.s [PowerPC] fix broken JIT-compiled code with tail call optimization 2018-05-30 04:48:29 +00:00