From 40633835dcaa2206cf041bb5abca51accb39b1b7 Mon Sep 17 00:00:00 2001 From: svenbarth Date: Tue, 21 Apr 2020 06:04:37 +0000 Subject: [PATCH] * Windows on Aarch64 requires a relocation section git-svn-id: trunk@44918 - --- compiler/pmodules.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/pmodules.pas b/compiler/pmodules.pas index 98a8cb1ee0..0447de8430 100644 --- a/compiler/pmodules.pas +++ b/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;