Procházet zdrojové kódy

* Xtensa: align literals properly

git-svn-id: trunk@44382 -
florian před 5 roky
rodič
revize
f51a893d1d
1 změnil soubory, kde provedl 4 přidání a 1 odebrání
  1. 4 1
      compiler/xtensa/hlcgcpu.pas

+ 4 - 1
compiler/xtensa/hlcgcpu.pas

@@ -75,7 +75,10 @@ implementation
       { Xtensa needs the data before the subroutine }
       if assigned(data) and
          (not data.empty) then
-        current_asmdata.asmlists[alt].concatlist(data);
+        begin
+          data.Insert(tai_align.Create(4));
+          current_asmdata.asmlists[alt].concatlist(data);
+        end;
       inherited record_generated_code_for_procdef(pd,code,nil);
     end;