aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/cris/hw/rv-n-cris/rvc.exp
diff options
context:
space:
mode:
Diffstat (limited to 'sim/testsuite/cris/hw/rv-n-cris/rvc.exp')
-rw-r--r--sim/testsuite/cris/hw/rv-n-cris/rvc.exp4
1 files changed, 4 insertions, 0 deletions
diff --git a/sim/testsuite/cris/hw/rv-n-cris/rvc.exp b/sim/testsuite/cris/hw/rv-n-cris/rvc.exp
index 0f9ecec..0a018fa 100644
--- a/sim/testsuite/cris/hw/rv-n-cris/rvc.exp
+++ b/sim/testsuite/cris/hw/rv-n-cris/rvc.exp
@@ -112,6 +112,10 @@ proc slurp_rv { file } {
# The main test loop.
if [istarget cris*-*-*] {
+ # Used to locate the `run` program.
+ global arch
+ set arch "cris"
+
global ASFLAGS_FOR_TARGET
set has_rv_and_cris [sim_has_rv_and_cris]
global global_as_options