diff options
author | Nate Begeman <natebegeman@mac.com> | 2006-04-21 22:04:15 +0000 |
---|---|---|
committer | Nate Begeman <natebegeman@mac.com> | 2006-04-21 22:04:15 +0000 |
commit | 516b3939929a4214497958ff4f10f0b5074ebeb9 (patch) | |
tree | dd7aa426bc47798aa40e42595ea4d1d6d2aea63e /llvm/lib/Target/PowerPC/PPCTargetMachine.cpp | |
parent | 905bd17dc76f6f7e35411bd995e464c3351ab2e7 (diff) | |
download | bcm5719-llvm-516b3939929a4214497958ff4f10f0b5074ebeb9.tar.gz bcm5719-llvm-516b3939929a4214497958ff4f10f0b5074ebeb9.zip |
Change the PPC JIT to use a Static relocation model
llvm-svn: 27937
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCTargetMachine.cpp')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCTargetMachine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp b/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp index 94136a45696..484beb52222 100644 --- a/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp +++ b/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp @@ -130,7 +130,7 @@ bool PPCTargetMachine::addPassesToEmitFile(PassManager &PM, void PPCJITInfo::addPassesToJITCompile(FunctionPassManager &PM) { // The JIT should use dynamic-no-pic relocation model. - TM.setRelocationModel(Reloc::DynamicNoPIC); + TM.setRelocationModel(Reloc::Static); // Run loop strength reduction before anything else. PM.add(createLoopStrengthReducePass(TM.getTargetLowering())); |