Explorar o código

* Windows on Aarch64 requires a relocation section

git-svn-id: trunk@44918 -
svenbarth %!s(int64=5) %!d(string=hai) anos
pai
achega
40633835dc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      compiler/pmodules.pas

+ 1 - 1
compiler/pmodules.pas

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