diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-11-11 01:23:10 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-11-11 02:07:10 -0500 |
commit | efe113047d765b26869c3170c43678dd561027b4 (patch) | |
tree | 1f90b3c39320ca22d7805a4e651b1a9951d7a0fc /sim/testsuite/cris | |
parent | f0f2906ca03a656a6286838f9448f7b547c129e0 (diff) | |
download | binutils-efe113047d765b26869c3170c43678dd561027b4.zip binutils-efe113047d765b26869c3170c43678dd561027b4.tar.gz binutils-efe113047d765b26869c3170c43678dd561027b4.tar.bz2 |
sim: testsuite: drop sim_compile cover function
Most code isn't using this, and the only call site (in one cris file)
can use target_compile directly. So switch it over to simplify.
Diffstat (limited to 'sim/testsuite/cris')
-rw-r--r-- | sim/testsuite/cris/c/c.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/testsuite/cris/c/c.exp b/sim/testsuite/cris/c/c.exp index 08ea188..2608468 100644 --- a/sim/testsuite/cris/c/c.exp +++ b/sim/testsuite/cris/c/c.exp @@ -189,7 +189,7 @@ foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.c]] { verbose -log "Compiling $src with $opts(cc)" set dest "$opts(dest)" - if { [sim_compile $src $dest "executable" "$opts(cc)" ] != "" } { + if { [target_compile $src $dest "executable" "$opts(cc)" ] != "" } { unresolved $testname continue } |