Unified - adapt the generation of des assembler to use GENERATE
[openssl.git] / crypto / des / asm / crypt586.pl
index e36f7d44bd7dc4e71f35df07e795a275ddb5fefb..d94528ff7c28d506c4a61da2d15c1aadddcb39b0 100644 (file)
@@ -10,6 +10,9 @@ $0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1;
 push(@INC,"${dir}","${dir}../../perlasm");
 require "x86asm.pl";
 
+$output=pop;
+open STDOUT,">$output";
+
 &asm_init($ARGV[0],"crypt586.pl");
 
 $L="edi";
@@ -19,6 +22,8 @@ $R="esi";
 &fcrypt_body("fcrypt_body");
 &asm_finish();
 
+close STDOUT;
+
 sub fcrypt_body
        {
        local($name,$do_ip)=@_;