mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-27 14:24:40 +00:00
On DataLayout, omit the default of p:64:64:64.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197397 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -54,10 +54,8 @@ static std::string computeDataLayout(const MipsSubtarget &ST) {
|
||||
else
|
||||
Ret += "E";
|
||||
|
||||
// Pointers are 64 or 32 bit depending on the ABI.
|
||||
if (ST.isABI_N64())
|
||||
Ret += "-p:64:64:64";
|
||||
else
|
||||
// Pointers are 32 bit on some ABIs.
|
||||
if (!ST.isABI_N64())
|
||||
Ret += "-p:32:32:32";
|
||||
|
||||
// 8 and 16 bit integers only need no have natural alignment, but try to
|
||||
|
Reference in New Issue
Block a user