summaryrefslogtreecommitdiffstats
path: root/crypto/alphacpuid.pl
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-03-07 15:00:45 +0100
committerRichard Levitte <levitte@openssl.org>2016-03-09 11:09:26 +0100
commit0a4edb931b883b9973721ae012e60c028387dd50 (patch)
tree730cc054212d09f0de3637da7c800650b96bed04 /crypto/alphacpuid.pl
parent184bc45f683c76531d7e065b6553ca9086564576 (diff)
Unified - adapt the generation of cpuid, uplink and buildinf to use GENERATE
This gets rid of the BEGINRAW..ENDRAW sections in crypto/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/alphacpuid.pl')
-rw-r--r--crypto/alphacpuid.pl6
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/alphacpuid.pl b/crypto/alphacpuid.pl
index 5b0e21bc90..8af0f09d4b 100644
--- a/crypto/alphacpuid.pl
+++ b/crypto/alphacpuid.pl
@@ -1,4 +1,8 @@
#!/usr/bin/env perl
+
+$output = pop;
+open STDOUT,">$stdout";
+
print <<'___';
.text
@@ -214,3 +218,5 @@ OPENSSL_instrument_bus2:
.end OPENSSL_instrument_bus2
___
}
+
+close STDOUT;