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