diff options
| author | Chris Lattner <sabre@nondot.org> | 2006-04-22 06:17:56 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2006-04-22 06:17:56 +0000 |
| commit | c8afdfec52aa4e63d84933f042bfd5a50ffef6a5 (patch) | |
| tree | 28da5ccda23c1c9fbf4afef752521908803972bd /llvm | |
| parent | 17aae4c5169a683ee38c69f82f7630d2fb9f2328 (diff) | |
| download | bcm5719-llvm-c8afdfec52aa4e63d84933f042bfd5a50ffef6a5.tar.gz bcm5719-llvm-c8afdfec52aa4e63d84933f042bfd5a50ffef6a5.zip | |
Teach the JIT how to relocate LI, this fixes the JIT on Prolangs-C/TimberWolfMC
llvm-svn: 27943
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/lib/Target/PowerPC/PPCCodeEmitter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCCodeEmitter.cpp b/llvm/lib/Target/PowerPC/PPCCodeEmitter.cpp index fb269e96054..8d4e1b669a3 100644 --- a/llvm/lib/Target/PowerPC/PPCCodeEmitter.cpp +++ b/llvm/lib/Target/PowerPC/PPCCodeEmitter.cpp @@ -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: |

