From d90466bcbf426b82a3f5702e9ac57f5d14280851 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Wed, 11 Jan 2012 19:00:37 +0000 Subject: Support segmented stacks on mac. This uses TLS slot 90, which actually belongs to JavaScriptCore. We only support frames with static size Patch by Brian Anderson. llvm-svn: 147960 --- llvm/lib/Target/X86/X86TargetMachine.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'llvm/lib/Target/X86/X86TargetMachine.cpp') diff --git a/llvm/lib/Target/X86/X86TargetMachine.cpp b/llvm/lib/Target/X86/X86TargetMachine.cpp index d73a3dd7f3c..b8002d57ebf 100644 --- a/llvm/lib/Target/X86/X86TargetMachine.cpp +++ b/llvm/lib/Target/X86/X86TargetMachine.cpp @@ -102,9 +102,6 @@ X86TargetMachine::X86TargetMachine(const Target &T, StringRef TT, // default to hard float ABI if (Options.FloatABIType == FloatABI::Default) this->Options.FloatABIType = FloatABI::Hard; - - if (Options.EnableSegmentedStacks && !Subtarget.isTargetELF()) - report_fatal_error("Segmented stacks are only implemented on ELF."); } //===----------------------------------------------------------------------===// -- cgit v1.2.3