diff options
author | Richard Levitte <levitte@openssl.org> | 2016-03-07 15:48:49 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-03-09 11:09:26 +0100 |
commit | 3c9d51ce8ba51a8ef7b58f1f07c8d9c9df2ca665 (patch) | |
tree | beeff003f5b078938999746e13f1d6eb7015c8a0 /crypto/rc4/asm/rc4-586.pl | |
parent | ac9888e5a9cc7b581323614c615b669f655512a1 (diff) |
Unified - adapt the generation of rc4 assembler to use GENERATE
This gets rid of the BEGINRAW..ENDRAW sections in crypto/rc4/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: Andy Polyakov <appro@openssl.org>
Diffstat (limited to 'crypto/rc4/asm/rc4-586.pl')
-rw-r--r-- | crypto/rc4/asm/rc4-586.pl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/rc4/asm/rc4-586.pl b/crypto/rc4/asm/rc4-586.pl index d04e1771f6..a517adb735 100644 --- a/crypto/rc4/asm/rc4-586.pl +++ b/crypto/rc4/asm/rc4-586.pl @@ -63,6 +63,9 @@ $0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1; push(@INC,"${dir}","${dir}../../perlasm"); require "x86asm.pl"; +$output=pop; +open STDOUT,">$output"; + &asm_init($ARGV[0],"rc4-586.pl",$x86only = $ARGV[$#ARGV] eq "386"); $xx="eax"; @@ -415,3 +418,4 @@ $idx="edx"; &asm_finish(); +close STDOUT; |