Unified - adapt the generation of poly1305 assembler to use GENERATE
[openssl.git] / crypto / poly1305 / asm / poly1305-x86.pl
index fb9fa2bc34a6cfa2a52daa8e6f260727a77f2e6f..4307c9978a2da3ed303a9a6247825ddbbc789781 100755 (executable)
@@ -38,6 +38,9 @@ $0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1;
 push(@INC,"${dir}","${dir}../../perlasm");
 require "x86asm.pl";
 
+$output=pop;
+open STDOUT,">$output";
+
 &asm_init($ARGV[0],"poly1305-x86.pl",$ARGV[$#ARGV] eq "386");
 
 $sse2=$avx=0;
@@ -1795,3 +1798,5 @@ sub vlazy_reduction {
 &align (4);
 
 &asm_finish();
+
+close STDOUT;