diff options
author | FdaSilvaYY <fdasilvayy@gmail.com> | 2017-02-07 00:05:06 +0100 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2017-02-14 15:55:54 -0500 |
commit | 19d5e48d6d56f59672c08c8aa162a2a3ff3819ba (patch) | |
tree | 125e302354e46ed1b22c276cec25b22362fa4cf7 /crypto | |
parent | 07bc93f479bb73567b23ceb6c2d96e7cc511edd3 (diff) |
Fix a few typos
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2571)
(cherry picked from commit 7e12cdb52e3f4beff050caeecf3634870bb9a7c4)
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/perlasm/README | 6 | ||||
-rwxr-xr-x | crypto/perlasm/x86_64-xlate.pl | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/crypto/perlasm/README b/crypto/perlasm/README index 2c8435cbe3..e90bd8e014 100644 --- a/crypto/perlasm/README +++ b/crypto/perlasm/README @@ -7,7 +7,7 @@ and then include it. push(@INC,"perlasm","../../perlasm"); require "x86asm.pl"; -The first thing we do is setup the file and type of assember +The first thing we do is setup the file and type of assembler &asm_init($ARGV[0],$0); @@ -18,7 +18,7 @@ Argument 2 is the file name. The reciprocal function is &asm_finish() which should be called at the end. -There are 2 main 'packages'. x86ms.pl, which is the microsoft assembler, +There are 2 main 'packages'. x86ms.pl, which is the Microsoft assembler, and x86unix.pl which is the unix (gas) version. Functions of interest are: @@ -32,7 +32,7 @@ Functions of interest are: &function_begin(name,extra) Start a function with pushing of edi, esi, ebx and ebp. extra is extra win32 external info that may be required. -&function_begin_B(name,extra) Same as norma function_begin but no pushing. +&function_begin_B(name,extra) Same as normal function_begin but no pushing. &function_end(name) Call at end of function. &function_end_A(name) Standard pop and ret, for use inside functions &function_end_B(name) Call at end but with poping or 'ret'. diff --git a/crypto/perlasm/x86_64-xlate.pl b/crypto/perlasm/x86_64-xlate.pl index 2d9e1a1cc4..425cd292e7 100755 --- a/crypto/perlasm/x86_64-xlate.pl +++ b/crypto/perlasm/x86_64-xlate.pl @@ -429,7 +429,7 @@ my %globals; } } } -{ package expr; # pick up expressioins +{ package expr; # pick up expressions sub re { my ($class, $line, $opcode) = @_; my $self = {}; @@ -1004,7 +1004,7 @@ close STDOUT; # the area above user stack pointer in true asynchronous manner... # # All the above means that if assembler programmer adheres to Unix -# register and stack layout, but disregards the "red zone" existense, +# register and stack layout, but disregards the "red zone" existence, # it's possible to use following prologue and epilogue to "gear" from # Unix to Win64 ABI in leaf functions with not more than 6 arguments. # |