From b4058a57ad3176b38421c2d28c101cbd354fc9c7 Mon Sep 17 00:00:00 2001 From: Jonas Maebe Date: Sat, 9 Jan 2010 11:22:33 +0000 Subject: [PATCH] * maxcrecordalign for darwin/ppc64 is 4 instead of 8 (at least for the types that we support), fixes webtbs/tw15061a.pp on darwin/ppc64 * webtbs/tw15061a.pp is only for darwin/ppc and darwin/ppc64 git-svn-id: trunk@14582 - --- compiler/systems/i_bsd.pas | 2 +- tests/webtbs/tw15061a.pp | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/compiler/systems/i_bsd.pas b/compiler/systems/i_bsd.pas index 29140608f8..12cd7f1ec6 100644 --- a/compiler/systems/i_bsd.pas +++ b/compiler/systems/i_bsd.pas @@ -611,7 +611,7 @@ unit i_bsd; localalignmax : 8; recordalignmin : 0; recordalignmax : 8; - maxCrecordalign : 8 + maxCrecordalign : 4 ); first_parm_offset : 48; stacksize : 262144; diff --git a/tests/webtbs/tw15061a.pp b/tests/webtbs/tw15061a.pp index b7505be43f..d6e64e0fc1 100644 --- a/tests/webtbs/tw15061a.pp +++ b/tests/webtbs/tw15061a.pp @@ -1,3 +1,6 @@ +{ %cpu=powerpc,powerpc64 } +{ %target=darwin } + {$ifdef FPC} {$mode macpas} {$align power}