summaryrefslogtreecommitdiff
path: root/devel/perlasm/cpuid-x86.pl
diff options
context:
space:
mode:
Diffstat (limited to 'devel/perlasm/cpuid-x86.pl')
-rw-r--r--devel/perlasm/cpuid-x86.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/devel/perlasm/cpuid-x86.pl b/devel/perlasm/cpuid-x86.pl
index fa9c14e577..a5541d4586 100644
--- a/devel/perlasm/cpuid-x86.pl
+++ b/devel/perlasm/cpuid-x86.pl
@@ -10,6 +10,9 @@ $0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1;
push(@INC,"${dir}","${dir}../../crypto/perlasm");
require "x86asm.pl";
+$output=pop;
+open STDOUT,">$output";
+
&asm_init($ARGV[0],$0);
&function_begin_B("gnutls_cpuid");
@@ -55,3 +58,5 @@ require "x86asm.pl";
&asciz("CPUID for x86");
&asm_finish();
+
+close STDOUT;