From 6bd7a4d96c47068c63cbd2ca93f501816dc453c1 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Mon, 7 Mar 2016 15:41:33 +0100 Subject: Unified - adapt the generation of bignum assembler to use GENERATE This gets rid of the BEGINRAW..ENDRAW sections in crypto/bn/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: Rich Salz --- crypto/bn/asm/x86.pl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'crypto/bn/asm/x86.pl') diff --git a/crypto/bn/asm/x86.pl b/crypto/bn/asm/x86.pl index 1bc4f1bb27..c1cab72716 100644 --- a/crypto/bn/asm/x86.pl +++ b/crypto/bn/asm/x86.pl @@ -11,6 +11,9 @@ require("x86/add.pl"); require("x86/sub.pl"); require("x86/comba.pl"); +$output = pop; +open STDOUT,">$output"; + &asm_init($ARGV[0],$0); &bn_mul_add_words("bn_mul_add_words"); @@ -26,3 +29,4 @@ require("x86/comba.pl"); &asm_finish(); +close STDOUT; -- cgit v1.2.3