diff options
author | Richard Levitte <levitte@openssl.org> | 2016-03-07 15:41:33 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-03-07 18:25:56 +0100 |
commit | 6bd7a4d96c47068c63cbd2ca93f501816dc453c1 (patch) | |
tree | 8f47004988a5aff04383e5aadf0e9723dccc6c5e /crypto/bn/asm/x86-gf2m.pl | |
parent | 8a67946e5bf1cd0fe0020e0f28cbf84642ec4132 (diff) |
Unified - adapt the generation of bignum assembler to use GENERATE
This gets rid of the BEGINRAW..ENDRAW sections in crypto/bn/build.info.
This also moves the assembler generating perl scripts to take the
output file name as last command line argument, where necessary.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/bn/asm/x86-gf2m.pl')
-rw-r--r-- | crypto/bn/asm/x86-gf2m.pl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/bn/asm/x86-gf2m.pl b/crypto/bn/asm/x86-gf2m.pl index b579530272..0292178d24 100644 --- a/crypto/bn/asm/x86-gf2m.pl +++ b/crypto/bn/asm/x86-gf2m.pl @@ -36,6 +36,9 @@ $0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1; push(@INC,"${dir}","${dir}../../perlasm"); require "x86asm.pl"; +$output = pop; +open STDOUT,">$output"; + &asm_init($ARGV[0],$0,$x86only = $ARGV[$#ARGV] eq "386"); $sse2=0; @@ -311,3 +314,5 @@ if ($sse2) { &asciz ("GF(2^m) Multiplication for x86, CRYPTOGAMS by <appro\@openssl.org>"); &asm_finish(); + +close STDOUT; |