Browse Source

* Xtensa: properly align maxpushedparasize

git-svn-id: trunk@44663 -
florian 5 years ago
parent
commit
9753dd964b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      compiler/xtensa/cpupi.pas

+ 1 - 0
compiler/xtensa/cpupi.pas

@@ -92,6 +92,7 @@ unit cpupi;
         localsize : aint;
         localsize : aint;
         i : longint;
         i : longint;
       begin
       begin
+        maxpushedparasize:=Align(maxpushedparasize,4);
         tg.setfirsttemp(maxpushedparasize);
         tg.setfirsttemp(maxpushedparasize);
 
 
         if po_nostackframe in procdef.procoptions then
         if po_nostackframe in procdef.procoptions then