projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Padlock engine: make it independent of inline assembler.
[openssl.git]
/
crypto
/
perlasm
/
x86masm.pl
diff --git
a/crypto/perlasm/x86masm.pl
b/crypto/perlasm/x86masm.pl
index 6154b079b9bb16b68e358480864173fb0b8a67fc..ee446de5c1d036544a5a543a66367a03a2717413 100644
(file)
--- a/
crypto/perlasm/x86masm.pl
+++ b/
crypto/perlasm/x86masm.pl
@@
-186,4
+186,11
@@
___
sub ::dataseg
{ push(@out,"$segment\tENDS\n_DATA\tSEGMENT\n"); $segment="_DATA"; }
+sub ::safeseh
+{ my $nm=shift;
+ push(@out,"IF \@Version GE 710\n");
+ push(@out,".SAFESEH ".&::LABEL($nm,$nmdecor.$nm)."\n");
+ push(@out,"ENDIF\n");
+}
+
1;