mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 09:26:15 +02:00
PPC64: fix wrong ifdef for SYSV ABI
The TOC is used by PPC64, not by PPC32. Resolves #39571
(cherry picked from commit 14289173bb
)
This commit is contained in:
parent
076c9b06c1
commit
6827c4810d
@ -395,7 +395,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 = [
|
||||||
{$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,
|
{ pointer checking (requires special code in FPC_CHECKPOINTER,
|
||||||
|
Loading…
Reference in New Issue
Block a user