Browse Source

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

Sven/Sarah Barth 8 months ago
parent
commit
ad4fe174b1
1 changed files with 1 additions and 1 deletions
  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 
               will occur, but also full 64-bit references to avoid problems with 
               relative references }
               relative references }
             sectype:=sec_rodata;
             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
           end
         else
         else
           begin
           begin