From 3febb200612769dbada9c5eafa3c2a04107d0e3b Mon Sep 17 00:00:00 2001 From: olle Date: Wed, 8 Oct 2003 21:15:27 +0000 Subject: [PATCH] * changed to symbolic const for alignment --- compiler/powerpc/cpupara.pas | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/compiler/powerpc/cpupara.pas b/compiler/powerpc/cpupara.pas index 34e5888650..b1237736fb 100644 --- a/compiler/powerpc/cpupara.pas +++ b/compiler/powerpc/cpupara.pas @@ -237,7 +237,7 @@ unit cpupara; end; { make sure all alignment bytes are 0 as well } fillchar(paraloc,sizeof(paraloc),0); - paraloc.Alignment:=4; + paraloc.alignment:= std_param_align; case loc of LOC_REGISTER: begin @@ -324,6 +324,7 @@ unit cpupara; { Function return } fillchar(paraloc,sizeof(tparalocation),0); + paraloc.alignment:= std_param_align; paraloc.size:=def_cgsize(p.rettype.def); { Return in FPU register? } if p.rettype.def.deftype=floatdef then @@ -358,8 +359,8 @@ begin end. { $Log$ - Revision 1.48 2003-10-08 14:11:36 mazen - + Alignement field added to TParaLocation (=4 as 32 bits archs) + Revision 1.49 2003-10-08 21:15:27 olle + * changed to symbolic const for alignment Revision 1.47 2003/10/01 20:34:49 peter * procinfo unit contains tprocinfo