* fixed test for powerpc64; in ppc64/linux pointers to functions are in reality pointers to a function descriptor containing the actual function pointer

git-svn-id: trunk@6209 -
This commit is contained in:
tom_at_work 2007-01-26 21:58:20 +00:00
parent 34a5236dd0
commit 1e104006a9

View File

@ -13,8 +13,11 @@ type
procedure tc.test; assembler;
asm
{$ifdef cpu64}
// for simplicity sake do not bother about setting the GOT and
// environment pointer correctly
ld r4,0(r3)
ld r4,+vmtoffset tc.v(r4)
ld r4,0(r4)
{$else}
lwz r4,0(r3)
lwz r4,+vmtoffset tc.v(r4)