Browse Source

* correctly set std_param_align for sparc64

git-svn-id: trunk@36948 -
florian 8 years ago
parent
commit
4988337e6f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/sparcgen/cpubase.pas

+ 1 - 1
compiler/sparcgen/cpubase.pas

@@ -325,7 +325,7 @@ uses
          The value of this constant is equal to the constant
          The value of this constant is equal to the constant
          PARM_BOUNDARY / BITS_PER_UNIT in the GCC source.
          PARM_BOUNDARY / BITS_PER_UNIT in the GCC source.
       }
       }
-      std_param_align = 4;  { for 32-bit version only }
+      std_param_align = sizeof(AWord);
 
 
 {$ifdef SPARC64}
 {$ifdef SPARC64}
       STACK_BIAS = 2047;
       STACK_BIAS = 2047;