Explorar o código

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

Sven/Sarah Barth hai 10 meses
pai
achega
ad4fe174b1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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