summaryrefslogtreecommitdiff
path: root/lib/Target/X86/X86TargetMachine.cpp
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2007-01-03 11:43:14 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2007-01-03 11:43:14 +0000
commit317848f4a11f7fe55afdd6d90ded8444069b56fb (patch)
tree683797a4e9669398c190804b558a835c96439fb7 /lib/Target/X86/X86TargetMachine.cpp
parent7f7fdcca8fabccb21967f0b12d68009ff6247acd (diff)
downloadllvm-317848f4a11f7fe55afdd6d90ded8444069b56fb.tar.gz
llvm-317848f4a11f7fe55afdd6d90ded8444069b56fb.tar.bz2
llvm-317848f4a11f7fe55afdd6d90ded8444069b56fb.tar.xz
Really big cleanup.
- New target type "mingw" was introduced - Same things for both mingw & cygwin are marked as "cygming" (as in gcc) - .lcomm is supported here, so allow LLVM to use it - Correctly use underscored versions of setjmp & _longjmp for both mingw & cygwin git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32833 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86TargetMachine.cpp')
-rw-r--r--lib/Target/X86/X86TargetMachine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86TargetMachine.cpp b/lib/Target/X86/X86TargetMachine.cpp
index 9dee7c897d..d92ae498cf 100644
--- a/lib/Target/X86/X86TargetMachine.cpp
+++ b/lib/Target/X86/X86TargetMachine.cpp
@@ -115,7 +115,7 @@ X86TargetMachine::X86TargetMachine(const Module &M, const std::string &FS, bool
Subtarget.getStackAlignment(), Subtarget.is64Bit() ? -8 : -4),
InstrInfo(*this), JITInfo(*this), TLInfo(*this) {
if (getRelocationModel() == Reloc::Default)
- if (Subtarget.isTargetDarwin() || Subtarget.isTargetCygwin())
+ if (Subtarget.isTargetDarwin() || Subtarget.isTargetCygMing())
setRelocationModel(Reloc::DynamicNoPIC);
else
setRelocationModel(Reloc::Static);