ソースを参照

PowerPC32 SysV: fix abis_ppc_toc declaration

No TOC on those platforms (as mentioned in tcgppcgen.get_rtoc_offset), so also
exclude from this constant
Jonas Maebe 3 年 前
コミット
2ee45c7ed8
1 ファイル変更1 行追加1 行削除
  1. 1 1
      compiler/systems.pas

+ 1 - 1
compiler/systems.pas

@@ -450,7 +450,7 @@ interface
 
 
        { all PPC ABIs that use a TOC register to address globals }
        { all PPC ABIs that use a TOC register to address globals }
        abis_ppc_toc = [
        abis_ppc_toc = [
-         abi_powerpc_sysv,abi_powerpc_aix,abi_powerpc_elfv2
+         {$ifdef powerpc32}abi_powerpc_sysv,{$endif}abi_powerpc_aix,abi_powerpc_elfv2
        ];
        ];
 
 
        { pointer checking (requires special code in FPC_CHECKPOINTER,
        { pointer checking (requires special code in FPC_CHECKPOINTER,