| # Copyright 2008-2016 The OpenSSL Project Authors. All Rights Reserved. |
| # Licensed under the OpenSSL license (the "License"). You may not use |
| # this file except in compliance with the License. You can obtain a copy |
| # in the file LICENSE in the source distribution or at |
| # https://www.openssl.org/source/license.html |
| $0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1; |
| push(@INC, "${dir}.", "${dir}../crypto/perlasm"); |
| require "uplink-common.pl"; |
| &asm_init($ARGV[0],"uplink-x86"); |
| &external_label("OPENSSL_Uplink"); |
| &public_label("OPENSSL_UplinkTable"); |
| &function_begin_B("_\$lazy${i}"); |
| &lea ("eax",&DWP(&label("OPENSSL_UplinkTable"))); |
| &call (&label("OPENSSL_Uplink")); |
| &jmp_ptr(&DWP(4*$i,"eax")); |
| &function_end_B("_\$lazy${i}"); |
| &set_label("OPENSSL_UplinkTable"); |
| &data_word(&label("_\$lazy${i}")); |