Browse Source

* fixed for darwin/ppc64

git-svn-id: branches/fpc_2_3@6487 -
Jonas Maebe 18 years ago
parent
commit
5ea2318b58
1 changed files with 4 additions and 0 deletions
  1. 4 0
      tests/webtbs/tw8153a.pp

+ 4 - 0
tests/webtbs/tw8153a.pp

@@ -16,8 +16,12 @@ asm
 // for simplicity sake do not bother about setting the GOT and
 // environment pointer correctly
   ld r4,0(r3)
+{$ifdef linux}
   ld r4,+vmtoffset tc.v(r4)
   ld r4,0(r4)
+{$else linux}
+  ld r4,+vmtoffset tc.v(r4)
+{$endif linux}
 {$else}
   lwz r4,0(r3)
   lwz r4,+vmtoffset tc.v(r4)