mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-30 05:29:47 +00:00
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
This commit is contained in:
parent
b6be139c50
commit
892838336c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user