diff options
author | Andy Polyakov <appro@openssl.org> | 2011-09-06 20:45:36 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2011-09-06 20:45:36 +0000 |
commit | ed28aef8b455be436f252dfceac49a958a92e53b (patch) | |
tree | cd34319f2128612e24d78d06571cdc4c24eab614 /crypto/perlasm/x86masm.pl | |
parent | 0486cce653b62d26a8ca37ac12f69f1a6b998844 (diff) |
Padlock engine: make it independent of inline assembler.
Diffstat (limited to 'crypto/perlasm/x86masm.pl')
-rw-r--r-- | crypto/perlasm/x86masm.pl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/crypto/perlasm/x86masm.pl b/crypto/perlasm/x86masm.pl index 6154b079b9..ee446de5c1 100644 --- 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; |