From aa3e123ebb34620757ee1ac90e1ec593412ac258 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Mon, 22 Jan 2007 23:13:01 +0000 Subject: [PATCH] ARM AAPCS abi (Linux, etc.) requires 8-byte double / long alignment; Mac requires 4-bytes alignment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33448 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/ARM/ARMTargetMachine.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Target/ARM/ARMTargetMachine.cpp b/lib/Target/ARM/ARMTargetMachine.cpp index 492603fe7f0..7e248a609db 100644 --- a/lib/Target/ARM/ARMTargetMachine.cpp +++ b/lib/Target/ARM/ARMTargetMachine.cpp @@ -35,8 +35,8 @@ namespace { ARMTargetMachine::ARMTargetMachine(const Module &M, const std::string &FS) : Subtarget(M, FS), DataLayout(Subtarget.isTargetDarwin() ? - std::string("e-p:32:32-d:32-l:32") : - std::string("e-p:32:32-d:64-l:64")), + std::string("e-p:32:32-d:32:32-l:32:32") : + std::string("e-p:32:32-d:32:64-l:32:64")), InstrInfo(Subtarget), FrameInfo(Subtarget) {} -- 2.34.1