diff options
author | Evan Cheng <evan.cheng@apple.com> | 2006-02-18 00:15:05 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2006-02-18 00:15:05 +0000 |
commit | 7ccced634ae0ecdc1c4f599fd3abf188c367e231 (patch) | |
tree | a26d36083439f84cd3bf87bb7bfd6e44103479f4 /lib/Target/X86/X86Subtarget.cpp | |
parent | d2ee218b499fcd364aae7da031819b738f009cd1 (diff) |
x86 / Darwin PIC support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26273 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86Subtarget.cpp')
-rw-r--r-- | lib/Target/X86/X86Subtarget.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/Target/X86/X86Subtarget.cpp b/lib/Target/X86/X86Subtarget.cpp index b3fafbfea1..756b6b7675 100644 --- a/lib/Target/X86/X86Subtarget.cpp +++ b/lib/Target/X86/X86Subtarget.cpp @@ -148,7 +148,6 @@ X86Subtarget::X86Subtarget(const Module &M, const std::string &FS) { stackAlignment = 8; // FIXME: this is a known good value for Yonah. Not sure about others. MinRepStrSizeThreshold = 128; - indirectExternAndWeakGlobals = false; X86SSELevel = NoMMXSSE; X863DNowLevel = NoThreeDNow; Is64Bit = false; @@ -183,8 +182,6 @@ X86Subtarget::X86Subtarget(const Module &M, const std::string &FS) { #endif } - if (TargetType == isDarwin) { + if (TargetType == isDarwin) stackAlignment = 16; - indirectExternAndWeakGlobals = true; - } } |