소스 검색

* 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