mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-30 04:35:00 +00:00
Teach the JIT how to relocate LI, this fixes the JIT on Prolangs-C/TimberWolfMC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27943 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
776eb6b21e
commit
ea4a9c575f
@ -166,6 +166,7 @@ int PPCCodeEmitter::getMachineOpValue(MachineInstr &MI, MachineOperand &MO) {
|
||||
case PPC::LIS:
|
||||
Reloc = PPC::reloc_absolute_high; // Pointer to symbol
|
||||
break;
|
||||
case PPC::LI:
|
||||
case PPC::LA:
|
||||
case PPC::LBZ:
|
||||
case PPC::LHA:
|
||||
|
Loading…
x
Reference in New Issue
Block a user