diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-11-21 23:05:32 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-11-26 15:07:04 -0500 |
commit | 0e877834085658e5d9a7e29daf2216fdf17bfdd0 (patch) | |
tree | 16ed2d340271e22ead763133c6a828b3a7c9d5d0 /sim/testsuite/cris | |
parent | f8080fb7a44b0a3a9699c188015106bc4b16076f (diff) | |
download | gdb-0e877834085658e5d9a7e29daf2216fdf17bfdd0.zip gdb-0e877834085658e5d9a7e29daf2216fdf17bfdd0.tar.gz gdb-0e877834085658e5d9a7e29daf2216fdf17bfdd0.tar.bz2 |
sim: testsuite: replace global_as_options with ASFLAGS_FOR_TARGET
Only a few tests actually use global_as_options, but we can replace the
sim-specific settings with the dejagnu common ASFLAGS_FOR_TARGET and get
the same result.
Diffstat (limited to 'sim/testsuite/cris')
-rw-r--r-- | sim/testsuite/cris/hw/rv-n-cris/rvc.exp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sim/testsuite/cris/hw/rv-n-cris/rvc.exp b/sim/testsuite/cris/hw/rv-n-cris/rvc.exp index 24371d9..908d56a 100644 --- a/sim/testsuite/cris/hw/rv-n-cris/rvc.exp +++ b/sim/testsuite/cris/hw/rv-n-cris/rvc.exp @@ -21,7 +21,6 @@ proc sim_has_rv_and_cris {} { global srcdir global subdir - global global_as_options global global_ld_options global global_sim_options @@ -32,9 +31,6 @@ proc sim_has_rv_and_cris {} { # what we want to do it to run the simulator without affecting the # PASS/FAIL counters, and we can use e.g. run_sim_test for that. - if ![info exists global_as_options] { - set global_as_options "" - } if ![info exists global_ld_options] { set global_ld_options "" } @@ -43,7 +39,7 @@ proc sim_has_rv_and_cris {} { } set comp_output [target_assemble $srcdir/$subdir/quit.s quit.o \ - "-I$srcdir/$subdir $global_as_options"] + "-I$srcdir/$subdir"] if ![string match "" $comp_output] { verbose -log "$comp_output" 3 @@ -119,7 +115,6 @@ proc slurp_rv { file } { if [istarget cris*-*-*] { global ASFLAGS_FOR_TARGET set has_rv_and_cris [sim_has_rv_and_cris] - global global_as_options global global_ld_options global global_sim_options |