浏览代码

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

Sven/Sarah Barth 10 月之前
父节点
当前提交
ad4fe174b1
共有 1 个文件被更改,包括 1 次插入1 次删除
  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