mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 22:24:07 +00:00
Reapply r114997 now that the buildbots have been updated.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125960 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -441,15 +441,11 @@ void TargetLoweringObjectFileMachO::Initialize(MCContext &Ctx,
|
||||
|
||||
Triple T(((LLVMTargetMachine&)TM).getTargetTriple());
|
||||
if (T.getOS() == Triple::Darwin) {
|
||||
switch (T.getDarwinMajorNumber()) {
|
||||
case 7: // 10.3 Panther.
|
||||
case 8: // 10.4 Tiger.
|
||||
unsigned MajNum = T.getDarwinMajorNumber();
|
||||
if (MajNum == 7 || MajNum == 8) // 10.3 Panther, 10.4 Tiger
|
||||
CommDirectiveSupportsAlignment = false;
|
||||
break;
|
||||
case 9: // 10.5 Leopard.
|
||||
case 10: // 10.6 SnowLeopard.
|
||||
break;
|
||||
}
|
||||
if (MajNum > 9) // 10.6 SnowLeopard
|
||||
IsFunctionEHSymbolGlobal = false;
|
||||
}
|
||||
|
||||
TargetLoweringObjectFile::Initialize(Ctx, TM);
|
||||
|
Reference in New Issue
Block a user