mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 22:07:56 +02:00
Fix two tests for ELFV2 powerpc64 ABI
This commit is contained in:
parent
b835005941
commit
b202fb2b0a
@ -39,7 +39,11 @@ asm
|
||||
{$else}
|
||||
std r0, retaddr
|
||||
{$ifdef linux}
|
||||
{$ifdef FPC_ABI_ELFV2}
|
||||
bl TMyObject.Test2
|
||||
{$else}
|
||||
bl .TMyObject.Test2
|
||||
{$endif}
|
||||
{$else linux}
|
||||
bl TMyObject.Test2
|
||||
{$endif linux}
|
||||
|
@ -18,7 +18,9 @@ asm
|
||||
ld r4,0(r3)
|
||||
ld r4,+vmtoffset tc.v(r4)
|
||||
{$if defined(linux) or defined(aix)}
|
||||
ld r4,0(r4)
|
||||
{$ifndef FPC_ABI_ELFV2}
|
||||
ld r4,0(r4)
|
||||
{$endif}
|
||||
{$endif linux or aix}
|
||||
{$else}
|
||||
lwz r4,0(r3)
|
||||
|
Loading…
Reference in New Issue
Block a user