Procházet zdrojové kódy

* ensure that the section with the case-labels is 8-Byte aligned

Sven/Sarah Barth před 10 měsíci
rodič
revize
ad4fe174b1
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      compiler/aarch64/ncpuset.pas

+ 1 - 1
compiler/aarch64/ncpuset.pas

@@ -276,7 +276,7 @@ implementation
               will occur, but also full 64-bit references to avoid problems with 
               relative references }
             sectype:=sec_rodata;
-            new_section(current_procinfo.aktlocaldata,sectype,lower(current_procinfo.procdef.mangledname),getprocalign);
+            new_section(current_procinfo.aktlocaldata,sectype,lower(current_procinfo.procdef.mangledname),sizeof(aint));
           end
         else
           begin