From 14289173bbaf1c7bb4c91808f065122198c9f047 Mon Sep 17 00:00:00 2001 From: Jonas Maebe Date: Sat, 12 Feb 2022 15:26:49 +0100 Subject: [PATCH] PPC64: fix wrong ifdef for SYSV ABI The TOC is used by PPC64, not by PPC32. Resolves #39571 --- compiler/systems.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/systems.pas b/compiler/systems.pas index 232ed67159..307d42b167 100644 --- a/compiler/systems.pas +++ b/compiler/systems.pas @@ -450,7 +450,7 @@ interface { all PPC ABIs that use a TOC register to address globals } abis_ppc_toc = [ - {$ifdef powerpc32}abi_powerpc_sysv,{$endif}abi_powerpc_aix,abi_powerpc_elfv2 + {$ifdef powerpc64}abi_powerpc_sysv,{$endif}abi_powerpc_aix,abi_powerpc_elfv2 ]; { pointer checking (requires special code in FPC_CHECKPOINTER,