浏览代码

* Linux/AArch64 must also copy value parameters passed by reference on the
caller side, as this is an AArch64 ABI requirement (unrelated to Darwin).
Fixes webtbs/tw3523 compiled with optimisations on Linux/AArch64

git-svn-id: trunk@32102 -

Jonas Maebe 9 年之前
父节点
当前提交
9437d0e4d8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compiler/systems.pas

+ 1 - 1
compiler/systems.pas

@@ -357,7 +357,7 @@ interface
 
 
        { all systems where a value parameter passed by reference must be copied
        { all systems where a value parameter passed by reference must be copied
          on the caller side rather than on the callee side }
          on the caller side rather than on the callee side }
-       systems_caller_copy_addr_value_para = [system_aarch64_darwin];
+       systems_caller_copy_addr_value_para = [system_aarch64_darwin,system_aarch64_linux];
 
 
        { pointer checking (requires special code in FPC_CHECKPOINTER,
        { pointer checking (requires special code in FPC_CHECKPOINTER,
          and can never work for libc-based targets or any other program
          and can never work for libc-based targets or any other program