From e53d18d876349d27b75a9dc00340b4a8edaceaf9 Mon Sep 17 00:00:00 2001 From: svenbarth Date: Fri, 2 Apr 2021 15:25:05 +0000 Subject: [PATCH] * Windows on ARM64 adheres to the usual Aarch64 ABI, thus references need to be copied on the caller side as well git-svn-id: trunk@49103 - --- compiler/systems.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/systems.pas b/compiler/systems.pas index 0bd714dd40..a4b3faa7c5 100644 --- a/compiler/systems.pas +++ b/compiler/systems.pas @@ -442,7 +442,7 @@ interface { all systems where a value parameter passed by reference must be copied on the caller side rather than on the callee side } - systems_caller_copy_addr_value_para = [system_aarch64_ios,system_aarch64_darwin,system_aarch64_linux]; + systems_caller_copy_addr_value_para = [system_aarch64_ios,system_aarch64_darwin,system_aarch64_linux,system_aarch64_win64]; { pointer checking (requires special code in FPC_CHECKPOINTER, and can never work for libc-based targets or any other program