diff options
author | Bill Wendling <isanbard@gmail.com> | 2009-07-13 20:18:43 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2009-07-13 20:18:43 +0000 |
commit | 1b7661e588736e71a9ebd1fb4c246c875e28d632 (patch) | |
tree | 42a182eacf0bfc38932d0295da888c46dae89a28 /llvm/lib | |
parent | 494720b7f71796bb5351673d75827c1c9254cc50 (diff) | |
download | bcm5719-llvm-1b7661e588736e71a9ebd1fb4c246c875e28d632.tar.gz bcm5719-llvm-1b7661e588736e71a9ebd1fb4c246c875e28d632.zip |
More standard way of specifying greater than Leopard.
llvm-svn: 75488
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Target/X86/X86TargetAsmInfo.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/X86/X86TargetAsmInfo.cpp b/llvm/lib/Target/X86/X86TargetAsmInfo.cpp index 244d2f16a9b..70dafae8df5 100644 --- a/llvm/lib/Target/X86/X86TargetAsmInfo.cpp +++ b/llvm/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 |