Add assembly support to ios64-cross.
[openssl.git] / crypto / modes / asm / ghashv8-armx.pl
index 54a1ac4db8d3b27c2368fd719aebd9d31c396b4f..7bbe2fc0068ca5bc365d8e1f8d18b3269e8b49f7 100644 (file)
 # (*)  presented for reference/comparison purposes;
 
 $flavour = shift;
-open STDOUT,">".shift;
+$output  = shift;
+
+$0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1;
+( $xlate="${dir}arm-xlate.pl" and -f $xlate ) or
+( $xlate="${dir}../../perlasm/arm-xlate.pl" and -f $xlate) or
+die "can't locate arm-xlate.pl";
+
+open OUT,"| \"$^X\" $xlate $flavour $output";
+*STDOUT=*OUT;
 
 $Xi="x0";      # argument block
 $Htbl="x1";