mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-16 14:31:59 +00:00
16-byte stack alignment for X86-64 ELF. Patch by Dan Gohman.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32004 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f3e486e069
commit
b4809b2b8f
@ -255,6 +255,8 @@ X86Subtarget::X86Subtarget(const Module &M, const std::string &FS, bool is64Bit)
|
||||
}
|
||||
}
|
||||
|
||||
if (TargetType == isDarwin || TargetType == isCygwin)
|
||||
if (TargetType == isDarwin ||
|
||||
TargetType == isCygwin ||
|
||||
(TargetType == isELF && Is64Bit))
|
||||
stackAlignment = 16;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user