summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/perlasm
diff options
context:
space:
mode:
authorjmc <>2022-12-26 07:18:53 +0000
committerjmc <>2022-12-26 07:18:53 +0000
commit8144b51086b3c46594192ccbec62762e58d61200 (patch)
tree26f3d93398833b7449b8a97e9fe4af9904382dbf /src/lib/libcrypto/perlasm
parent54da696f897367a85e20e97a53d29b18b44cf8b7 (diff)
downloadopenbsd-8144b51086b3c46594192ccbec62762e58d61200.tar.gz
openbsd-8144b51086b3c46594192ccbec62762e58d61200.tar.bz2
openbsd-8144b51086b3c46594192ccbec62762e58d61200.zip
spelling fixes; from paul tagliamonte
i removed the arithmetics -> arithmetic changes, as i felt they were not clearly correct ok tb
Diffstat (limited to 'src/lib/libcrypto/perlasm')
-rw-r--r--src/lib/libcrypto/perlasm/readme2
-rwxr-xr-xsrc/lib/libcrypto/perlasm/x86_64-xlate.pl6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/perlasm/readme b/src/lib/libcrypto/perlasm/readme
index 57d61fda1e..a7876bcc95 100644
--- a/src/lib/libcrypto/perlasm/readme
+++ b/src/lib/libcrypto/perlasm/readme
@@ -1,5 +1,5 @@
1The perl scripts in this directory are my 'hack' to generate 1The perl scripts in this directory are my 'hack' to generate
2multiple different assembler formats via the one origional script. 2multiple different assembler formats via the one original script.
3 3
4The way to use this library is to start with adding the path to this directory 4The way to use this library is to start with adding the path to this directory
5and then include it. 5and then include it.
diff --git a/src/lib/libcrypto/perlasm/x86_64-xlate.pl b/src/lib/libcrypto/perlasm/x86_64-xlate.pl
index 5f7f585549..bc9d78eb02 100755
--- a/src/lib/libcrypto/perlasm/x86_64-xlate.pl
+++ b/src/lib/libcrypto/perlasm/x86_64-xlate.pl
@@ -291,7 +291,7 @@ my %globals;
291} 291}
292{ package register; # pick up registers, which start with %. 292{ package register; # pick up registers, which start with %.
293 sub re { 293 sub re {
294 my $class = shift; # muliple instances... 294 my $class = shift; # multiple instances...
295 my $self = {}; 295 my $self = {};
296 local *line = shift; 296 local *line = shift;
297 undef $ret; 297 undef $ret;
@@ -879,7 +879,7 @@ close STDOUT;
879# (#) Nth argument, volatile 879# (#) Nth argument, volatile
880# 880#
881# In Unix terms top of stack is argument transfer area for arguments 881# In Unix terms top of stack is argument transfer area for arguments
882# which could not be accomodated in registers. Or in other words 7th 882# which could not be accommodated in registers. Or in other words 7th
883# [integer] argument resides at 8(%rsp) upon function entry point. 883# [integer] argument resides at 8(%rsp) upon function entry point.
884# 128 bytes above %rsp constitute a "red zone" which is not touched 884# 128 bytes above %rsp constitute a "red zone" which is not touched
885# by signal handlers and can be used as temporal storage without 885# by signal handlers and can be used as temporal storage without
@@ -896,7 +896,7 @@ close STDOUT;
896# the area above user stack pointer in true asynchronous manner... 896# the area above user stack pointer in true asynchronous manner...
897# 897#
898# All the above means that if assembler programmer adheres to Unix 898# All the above means that if assembler programmer adheres to Unix
899# register and stack layout, but disregards the "red zone" existense, 899# register and stack layout, but disregards the "red zone" existence,
900# it's possible to use following prologue and epilogue to "gear" from 900# it's possible to use following prologue and epilogue to "gear" from
901# Unix to Win64 ABI in leaf functions with not more than 6 arguments. 901# Unix to Win64 ABI in leaf functions with not more than 6 arguments.
902# 902#