Browse Source

* Fixed GOT address calculation (must take 'pop ecx' instruction into account)

git-svn-id: trunk@21758 -
sergei 13 years ago
parent
commit
b497d53a98
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/test/testsse2.pp

+ 1 - 1
tests/test/testsse2.pp

@@ -22,7 +22,7 @@ begin
        psubq     %xmm1,%xmm2
        psubq     q-.LPIC(%ecx),%xmm4
 {$else darwin}
-       addl      $_GLOBAL_OFFSET_TABLE_,%ecx
+       addl      $_GLOBAL_OFFSET_TABLE_+1,%ecx
        movdqa    %xmm1,%xmm2
        movdqa    q@GOT(%ecx),%xmm4
        psubq     %xmm1,%xmm2