diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-08-21 02:37:25 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-08-21 02:37:25 +0000 |
commit | d5a2eb092580397dbf0b791a4e4530ad12acb795 (patch) | |
tree | cf65c10caad7ea9a3d85deee1c66029b4026e916 /lib/Target/X86/X86TargetMachine.cpp | |
parent | 65566e1684043a41eed4376d7287254a1a12a458 (diff) | |
download | external_llvm-d5a2eb092580397dbf0b791a4e4530ad12acb795.zip external_llvm-d5a2eb092580397dbf0b791a4e4530ad12acb795.tar.gz external_llvm-d5a2eb092580397dbf0b791a4e4530ad12acb795.tar.bz2 |
X86TargetMachine.cpp: Clarify to emit GOT in i686-{cygming|win32}-elf for mcjit.
I suppose all "lli -use-mcjit i686-*" should require GOT, (and to fail.)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188856 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86TargetMachine.cpp')
-rw-r--r-- | lib/Target/X86/X86TargetMachine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86TargetMachine.cpp b/lib/Target/X86/X86TargetMachine.cpp index 49ebd1a..81423a3 100644 --- a/lib/Target/X86/X86TargetMachine.cpp +++ b/lib/Target/X86/X86TargetMachine.cpp @@ -92,7 +92,7 @@ X86TargetMachine::X86TargetMachine(const Target &T, StringRef TT, } else if (Subtarget.is64Bit()) { // PIC in 64 bit mode is always rip-rel. Subtarget.setPICStyle(PICStyles::RIPRel); - } else if (Subtarget.isTargetCygMing()) { + } else if (Subtarget.isTargetCOFF()) { Subtarget.setPICStyle(PICStyles::None); } else if (Subtarget.isTargetDarwin()) { if (getRelocationModel() == Reloc::PIC_) |