mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2026-02-19 19:36:26 +01:00
Remove use of _CALL_ELF which is not correct inside compiler
This solve cross-endian compilation for powerpc64-linux target
This commit is contained in:
parent
aa8050f30c
commit
f83b04bd8c
@ -740,7 +740,7 @@ unit cgppc;
|
||||
case target_info.abi of
|
||||
abi_powerpc_aix:
|
||||
result:=LA_RTOC_AIX;
|
||||
{$if defined(powerpc64) and defined(_CALL_ELF) and (_CALL_ELF = 1)}
|
||||
{$if defined(powerpc64)}
|
||||
{ no TOC on Linux/ppc32 }
|
||||
abi_powerpc_elfv1:
|
||||
result:=LA_RTOC_SYSV;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user