aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2009-07-13 20:18:43 +0000
committerBill Wendling <isanbard@gmail.com>2009-07-13 20:18:43 +0000
commit892838336ccdf1992380980fdd676677391fa540 (patch)
treecf5be88e1aa9d1545da1d41bf2f7b9e9ca361d91 /lib
parentb6be139c506f2e59a024ef7774ce5db060b83556 (diff)
More standard way of specifying greater than Leopard.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75488 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/X86/X86TargetAsmInfo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/X86/X86TargetAsmInfo.cpp b/lib/Target/X86/X86TargetAsmInfo.cpp
index 244d2f16a9..70dafae8df 100644
--- a/lib/Target/X86/X86TargetAsmInfo.cpp
+++ b/lib/Target/X86/X86TargetAsmInfo.cpp
@@ -96,10 +96,10 @@ X86DarwinTargetAsmInfo::X86DarwinTargetAsmInfo(const X86TargetMachine &TM):
// Leopard and earlier put exception tables in __DATA. Greater than Leopard
// put them in __TEXT.
- if (Subtarget->getDarwinVers() < 10)
- DwarfExceptionSection = ".section __DATA,__gcc_except_tab";
- else
+ if (Subtarget->getDarwinVers() > 9)
DwarfExceptionSection = ".section __TEXT,__gcc_except_tab";
+ else
+ DwarfExceptionSection = ".section __DATA,__gcc_except_tab";
}
unsigned