summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit4efbbc963f94341cb24fee90d77cc9f7e0226898 (patch)
tree758bebf5876f7158e57b9bde87ce206b8f30dd0e /llvm/lib/Target/X86/X86TargetMachine.cpp
parenta50e3919b150df88f66d45f9173a5bec1bd22d94 (diff)
downloadbcm5719-llvm-4efbbc963f94341cb24fee90d77cc9f7e0226898.tar.gz
bcm5719-llvm-4efbbc963f94341cb24fee90d77cc9f7e0226898.zip
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 llvm-svn: 32833
Diffstat (limited to 'llvm/lib/Target/X86/X86TargetMachine.cpp')
-rw-r--r--llvm/lib/Target/X86/X86TargetMachine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86TargetMachine.cpp b/llvm/lib/Target/X86/X86TargetMachine.cpp
index 9dee7c897d0..d92ae498cf0 100644
--- a/llvm/lib/Target/X86/X86TargetMachine.cpp
+++ b/llvm/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);
OpenPOWER on IntegriCloud