summaryrefslogtreecommitdiffstats
path: root/crypto/camellia/asm
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-03-07 15:43:26 +0100
committerRichard Levitte <levitte@openssl.org>2016-03-09 11:09:26 +0100
commit5384d1e4ebd58f31a06b2f5d1f6c4b28f63d72ed (patch)
treee03ea87bd6f7c9843e630e55f6985b3d0fb9162d /crypto/camellia/asm
parentdb1983980b1a8978f65ce631aae48b5769a803c6 (diff)
Unified - adapt the generation of camellia assembler to use GENERATE
This gets rid of the BEGINRAW..ENDRAW sections in crypto/camellia/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/camellia/asm')
-rw-r--r--crypto/camellia/asm/cmll-x86.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/camellia/asm/cmll-x86.pl b/crypto/camellia/asm/cmll-x86.pl
index 027302ac86..de354aa2e5 100644
--- a/crypto/camellia/asm/cmll-x86.pl
+++ b/crypto/camellia/asm/cmll-x86.pl
@@ -42,6 +42,9 @@ require "x86asm.pl";
$OPENSSL=1;
+$output = pop;
+open STDOUT,">$output";
+
&asm_init($ARGV[0],"cmll-586.pl",$ARGV[$#ARGV] eq "386");
@T=("eax","ebx","ecx","edx");
@@ -1136,3 +1139,5 @@ my ($s0,$s1,$s2,$s3) = @T;
&asciz("Camellia for x86 by <appro\@openssl.org>");
&asm_finish();
+
+close STDOUT;