summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC
diff options
context:
space:
mode:
authorAndrew Lenharth <andrewl@lenharth.org>2005-07-29 23:32:02 +0000
committerAndrew Lenharth <andrewl@lenharth.org>2005-07-29 23:32:02 +0000
commit2f9c52e194a4dc0155879c80bff29f6c9c7aa7ed (patch)
treef60e4106499428891b9c158944a1240de9b6b750 /llvm/lib/Target/PowerPC
parentbc85c32c738a8b0a574488c59249949a60248478 (diff)
downloadbcm5719-llvm-2f9c52e194a4dc0155879c80bff29f6c9c7aa7ed.tar.gz
bcm5719-llvm-2f9c52e194a4dc0155879c80bff29f6c9c7aa7ed.zip
turn off GOT on archs that didn't use it (not that it appeard to harm them much with it on)
llvm-svn: 22553
Diffstat (limited to 'llvm/lib/Target/PowerPC')
-rw-r--r--llvm/lib/Target/PowerPC/PowerPCJITInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PowerPCJITInfo.h b/llvm/lib/Target/PowerPC/PowerPCJITInfo.h
index 09659521c73..e91bff27691 100644
--- a/llvm/lib/Target/PowerPC/PowerPCJITInfo.h
+++ b/llvm/lib/Target/PowerPC/PowerPCJITInfo.h
@@ -23,7 +23,7 @@ namespace llvm {
protected:
TargetMachine &TM;
public:
- PowerPCJITInfo(TargetMachine &tm) : TM(tm) {}
+ PowerPCJITInfo(TargetMachine &tm) : TM(tm) {useGOT = 0;}
/// addPassesToJITCompile - Add passes to the specified pass manager to
/// implement a fast dynamic compiler for this target. Return true if this
OpenPOWER on IntegriCloud