diff options
author | Andy Polyakov <appro@openssl.org> | 2005-12-06 19:43:59 +0100 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2005-12-06 19:43:59 +0100 |
commit | 3ebf898e88f1f3c9347bba11e8a6ee2bdb83dded (patch) | |
tree | 89c85766ce467847bc6328349a859a5e2260a5c1 /crypto/x86cpuid.pl | |
parent | Add cpuid code to VC++ build. (diff) | |
download | openssl-3ebf898e88f1f3c9347bba11e8a6ee2bdb83dded.tar.xz openssl-3ebf898e88f1f3c9347bba11e8a6ee2bdb83dded.zip |
Support for indirect calls in x86 assembler modules.
Diffstat (limited to 'crypto/x86cpuid.pl')
-rw-r--r-- | crypto/x86cpuid.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x86cpuid.pl b/crypto/x86cpuid.pl index d4066e8858..c53c9bc998 100644 --- a/crypto/x86cpuid.pl +++ b/crypto/x86cpuid.pl @@ -183,7 +183,7 @@ for (@ARGV) { $sse2=1 if (/-DOPENSSL_IA32_SSE2/); } &mov ("eax",&DWP(12+$i*4,"ebp")); &mov (&DWP(0+$i*4,"esp"),"eax"); } - &call (&DWP(8,"ebp"));# make the call... + &call_ptr (&DWP(8,"ebp"));# make the call... &mov ("esp","ebp"); # ... and just restore the stack pointer # without paying attention to what we called, # (__cdecl *func) or (__stdcall *one). |