aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2017-02-24 15:53:20 +0000
committerPeter Maydell <peter.maydell@linaro.org>2017-02-24 16:00:11 +0000
commitd0483b1e5f6a28c89e3666ca84b65f0035dd67df (patch)
tree9fca4b9859a88b03c828e4e9092f6540881dbee8
parent18767caef0cad0009f83f52b8d61b8d3e68911b0 (diff)
risugen_common: Correctly export $bytecount
Fix syntax errors in the export of the $bytecount variable; these were preventing risu from running with ARM or AArch64 backends. Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r--risugen_common.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/risugen_common.pm b/risugen_common.pm
index 5db2e32..4e9301e 100644
--- a/risugen_common.pm
+++ b/risugen_common.pm
@@ -23,13 +23,13 @@ BEGIN {
require Exporter;
our @ISA = qw(Exporter);
- our @EXPORT = qw(open_bin close_bin set_endian insn32 insn16 bytecount
+ our @EXPORT = qw(open_bin close_bin set_endian insn32 insn16 $bytecount
progress_start progress_update progress_end
eval_with_fields is_pow_of_2 sextract ctz
dump_insn_details);
}
-our $bytecount;
+my $bytecount;
my $bigendian = 0;