|
@@ -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)
|