Reverted r75484. It was causing a failure with Apple-style builds.
authorBill Wendling <isanbard@gmail.com>
Mon, 13 Jul 2009 20:27:41 +0000 (20:27 +0000)
committerBill Wendling <isanbard@gmail.com>
Mon, 13 Jul 2009 20:27:41 +0000 (20:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75491 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86TargetAsmInfo.cpp

index 70dafae8df54ae50f3de7aa827e1da62320f22b4..5a60bce43dcb430f4b6d931f40c1c6ff356d3de8 100644 (file)
@@ -93,13 +93,7 @@ X86DarwinTargetAsmInfo::X86DarwinTargetAsmInfo(const X86TargetMachine &TM):
   AbsoluteEHSectionOffsets = false;
   DwarfEHFrameSection =
   ".section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support";
-
-  // Leopard and earlier put exception tables in __DATA. Greater than Leopard
-  // put them in __TEXT.
-  if (Subtarget->getDarwinVers() > 9)
-    DwarfExceptionSection = ".section __TEXT,__gcc_except_tab";
-  else
-    DwarfExceptionSection = ".section __DATA,__gcc_except_tab";
+  DwarfExceptionSection = ".section __DATA,__gcc_except_tab";
 }
 
 unsigned