From: Andy Polyakov Date: Tue, 9 Feb 2016 10:53:11 +0000 (+0100) Subject: ms/uplink-x86.pl: make it work. X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=refs%2Fheads%2FOpenSSL_1_0_0-stable;p=oweals%2Fopenssl.git ms/uplink-x86.pl: make it work. Reviewed-by: Richard Levitte (cherry picked from commit 740b2b9a6cf31b02916a4d18f868e8a95934c083) --- diff --git a/ms/uplink-x86.pl b/ms/uplink-x86.pl index 0dffc14fcd..53b998d270 100755 --- a/ms/uplink-x86.pl +++ b/ms/uplink-x86.pl @@ -14,11 +14,11 @@ require "uplink-common.pl"; for ($i=1;$i<=$N;$i++) { &function_begin_B("_\$lazy${i}"); &lea ("eax",&DWP(&label("OPENSSL_UplinkTable"))); - &push ("eax"); &push ($i); + &push ("eax"); &call (&label("OPENSSL_Uplink")); - &add ("esp",8); &pop ("eax"); + &add ("esp",4); &jmp_ptr(&DWP(4*$i,"eax")); &function_end_B("_\$lazy${i}"); }