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

(cherry picked from commit 2ee45c7ed8)
This commit is contained in:
Jonas Maebe 2022-02-07 20:30:35 +01:00
parent 04717861ac
commit 89bf3fe5ea

View File

@ -395,7 +395,7 @@ interface
{ all PPC ABIs that use a TOC register to address globals }
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,