summaryrefslogtreecommitdiffstats
path: root/crypto/md5/asm
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-03-07 15:47:35 +0100
committerRichard Levitte <levitte@openssl.org>2016-03-09 11:09:26 +0100
commit57c83b3c3a61796ecd0e2e87109176ac9f8eae30 (patch)
tree9416f821092d1112bfe62202f94d6366f0b82084 /crypto/md5/asm
parent4f0d5f1849fba056ae2e626dbce976efc4586383 (diff)
Unified - adapt the generation of md5 assembler to use GENERATE
This gets rid of the BEGINRAW..ENDRAW sections in crypto/md5/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/md5/asm')
-rw-r--r--crypto/md5/asm/md5-586.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/md5/asm/md5-586.pl b/crypto/md5/asm/md5-586.pl
index 4971357173..b3b756cf7d 100644
--- a/crypto/md5/asm/md5-586.pl
+++ b/crypto/md5/asm/md5-586.pl
@@ -11,6 +11,9 @@ $0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1;
push(@INC,"${dir}","${dir}../../perlasm");
require "x86asm.pl";
+$output=pop;
+open STDOUT,">$output";
+
&asm_init($ARGV[0],$0);
$A="eax";
@@ -33,6 +36,8 @@ $X="esi";
&md5_block("md5_block_asm_data_order");
&asm_finish();
+close STDOUT;
+
sub Np
{
local($p)=@_;