aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/sh
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-11-21 23:12:39 -0500
committerMike Frysinger <vapier@gentoo.org>2021-11-26 19:03:13 -0500
commitd07ada6f5a27da66ff83455834e6c3a939816196 (patch)
treeded41735d77331a2485d202e56f777dcfddeb0ca /sim/testsuite/sh
parentfd02ad8772fd5087d860437b39f91f0f76148d15 (diff)
downloadgdb-d07ada6f5a27da66ff83455834e6c3a939816196.zip
gdb-d07ada6f5a27da66ff83455834e6c3a939816196.tar.gz
gdb-d07ada6f5a27da66ff83455834e6c3a939816196.tar.bz2
sim: testsuite: replace global_ld_options with LDFLAGS_FOR_TARGET
Only a few tests actually use global_ld_options, but we can replace the sim-specific settings with the dejagnu common LDFLAGS_FOR_TARGET and get the same result.
Diffstat (limited to 'sim/testsuite/sh')
-rw-r--r--sim/testsuite/sh/allinsn.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/testsuite/sh/allinsn.exp b/sim/testsuite/sh/allinsn.exp
index 233cd9a..05a28e0 100644
--- a/sim/testsuite/sh/allinsn.exp
+++ b/sim/testsuite/sh/allinsn.exp
@@ -3,12 +3,12 @@
set all_machs "sh shdsp"
global ASFLAGS_FOR_TARGET
-set global_ld_options ""
+global LDFLAGS_FOR_TARGET
foreach opt $board_variant_list {
switch "x$opt" {
x-ml { set ASFLAGS_FOR_TARGET "-little --defsym LITTLE=1"
- set global_ld_options "-EL" }
+ set LDFLAGS_FOR_TARGET "-EL" }
}
}