Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Side by Side Diff: openssl/ms/uplink-x86.pl

Issue 9254031: Upgrade chrome's OpenSSL to same version Android ships with. (Closed) Base URL: http://src.chromium.org/svn/trunk/deps/third_party/openssl/
Patch Set: '' Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « openssl/ms/uplink-ia64.pl ('k') | openssl/ms/uplink-x86_64.pl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/usr/bin/env perl
2
3 $0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1;
4 push(@INC, "${dir}.", "${dir}../crypto/perlasm");
5 require "x86asm.pl";
6
7 require "uplink-common.pl";
8
9 &asm_init($ARGV[0],"uplink-x86");
10
11 &external_label("OPENSSL_Uplink");
12 &public_label("OPENSSL_UplinkTable");
13
14 for ($i=1;$i<=$N;$i++) {
15 &function_begin_B("_\$lazy${i}");
16 &lea ("eax",&DWP(&label("OPENSSL_UplinkTable")));
17 &push ("eax");
18 &push ($i);
19 &call (&label("OPENSSL_Uplink"));
20 &add ("esp",8);
21 &pop ("eax");
22 &jmp_ptr(&DWP(4*$i,"eax"));
23 &function_end_B("_\$lazy${i}");
24 }
25
26 &dataseg();
27 &align(4);
28 &set_label("OPENSSL_UplinkTable");
29 &data_word($N);
30 for ($i=1;$i<=$N;$i++) {
31 &data_word(&label("_\$lazy${i}"));
32 }
33 &asm_finish();
OLDNEW
« no previous file with comments | « openssl/ms/uplink-ia64.pl ('k') | openssl/ms/uplink-x86_64.pl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698