Unified - adapt the generation of rc4 assembler to use GENERATE
[openssl.git] / crypto / rc4 / asm / rc4-586.pl
index d04e177..a517adb 100644 (file)
@@ -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;