aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/or1k
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/or1k
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/or1k')
-rw-r--r--sim/testsuite/or1k/alltests.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/testsuite/or1k/alltests.exp b/sim/testsuite/or1k/alltests.exp
index 365f391..701cca6 100644
--- a/sim/testsuite/or1k/alltests.exp
+++ b/sim/testsuite/or1k/alltests.exp
@@ -18,8 +18,8 @@
if [istarget or1k*-*-*] {
set all_machs "or1k"
- global global_ld_options
- set global_ld_options "-T $srcdir/$subdir/or1k-test.ld"
+ global LDFLAGS_FOR_TARGET
+ set LDFLAGS_FOR_TARGET "-T $srcdir/$subdir/or1k-test.ld"
foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.S]] {