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/sh | |
parent | f8080fb7a44b0a3a9699c188015106bc4b16076f (diff) | |
download | binutils-0e877834085658e5d9a7e29daf2216fdf17bfdd0.zip binutils-0e877834085658e5d9a7e29daf2216fdf17bfdd0.tar.gz binutils-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/sh')
-rw-r--r-- | sim/testsuite/sh/allinsn.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/testsuite/sh/allinsn.exp b/sim/testsuite/sh/allinsn.exp index ef2c59f..233cd9a 100644 --- a/sim/testsuite/sh/allinsn.exp +++ b/sim/testsuite/sh/allinsn.exp @@ -2,12 +2,12 @@ set all_machs "sh shdsp" -set global_as_options "" +global ASFLAGS_FOR_TARGET set global_ld_options "" foreach opt $board_variant_list { switch "x$opt" { - x-ml { set global_as_options "-little --defsym LITTLE=1" + x-ml { set ASFLAGS_FOR_TARGET "-little --defsym LITTLE=1" set global_ld_options "-EL" } } } |