浏览代码

* Windows on Aarch64 requires a relocation section

git-svn-id: trunk@44918 -
svenbarth 5 年之前
父节点
当前提交
40633835dc
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compiler/pmodules.pas

+ 1 - 1
compiler/pmodules.pas

@@ -1963,7 +1963,7 @@ type
          sc:=nil;
 
          { DLL defaults to create reloc info }
-         if islibrary then
+         if islibrary or (target_info.system in [system_aarch64_win64]) then
            begin
              if not RelocSectionSetExplicitly then
                RelocSection:=true;