Selaa lähdekoodia

* Windows on Aarch64 requires a relocation section

git-svn-id: trunk@44918 -
svenbarth 5 vuotta sitten
vanhempi
commit
40633835dc
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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;