turn off GOT on archs that didn't use it (not that it appeard to harm them much with...
authorAndrew Lenharth <andrewl@lenharth.org>
Fri, 29 Jul 2005 23:32:02 +0000 (23:32 +0000)
committerAndrew Lenharth <andrewl@lenharth.org>
Fri, 29 Jul 2005 23:32:02 +0000 (23:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22553 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCJITInfo.h
lib/Target/SparcV9/SparcV9JITInfo.h
lib/Target/X86/X86JITInfo.h

index 09659521c732a7ce99c6d93cea0473b65d3cd173..e91bff27691ecb04ccbfd25bf980ca1d30af6b58 100644 (file)
@@ -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
index a72e82d5b03184605527f9aafab6a507a416220d..8bbb2d9358d3c88d799535f7e38bbc85407efe00 100644 (file)
@@ -24,7 +24,7 @@ namespace llvm {
   class SparcV9JITInfo : public TargetJITInfo {
     TargetMachine &TM;
   public:
-    SparcV9JITInfo(TargetMachine &tm) : TM(tm) {}
+    SparcV9JITInfo(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
index 2d2f056fe5e07652bfe3320c0e09b242d1b943ff..b240674e63947588373c1c0a397af2fabfc70f4a 100644 (file)
@@ -23,7 +23,7 @@ namespace llvm {
   class X86JITInfo : public TargetJITInfo {
     TargetMachine &TM;
   public:
-    X86JITInfo(TargetMachine &tm) : TM(tm) {}
+    X86JITInfo(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