[binutils-gdb] testsuite/ld-riscv-elf/ld-riscv-elf.exp: Fix typo for istarget.

Hans-Peter Nilsson hp@sourceware.org
Tue Oct 24 22:46:00 GMT 2017


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=2e30886f1fa22fd28a1a91f5aae2ec033e2e54a9

commit 2e30886f1fa22fd28a1a91f5aae2ec033e2e54a9
Author: Hans-Peter Nilsson <hp@bitrange.com>
Date:   Wed Oct 25 00:45:05 2017 +0200

    testsuite/ld-riscv-elf/ld-riscv-elf.exp: Fix typo for istarget.

Diff:
---
 ld/ChangeLog                               | 4 ++++
 ld/testsuite/ld-riscv-elf/ld-riscv-elf.exp | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/ld/ChangeLog b/ld/ChangeLog
index f4c4490..a0508fe 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+2017-10-25  Hans-Peter Nilsson  <hp@axis.com>
+
+	* testsuite/ld-riscv-elf/ld-riscv-elf.exp: Fix typo for istarget.
+
 2017-10-24  Andrew Waterman  <andrew@sifive.com>
 
 	* ld/testsuite/ld-riscv-elf/c-lui.d: New testcase.
diff --git a/ld/testsuite/ld-riscv-elf/ld-riscv-elf.exp b/ld/testsuite/ld-riscv-elf/ld-riscv-elf.exp
index efe012e..c219b18 100644
--- a/ld/testsuite/ld-riscv-elf/ld-riscv-elf.exp
+++ b/ld/testsuite/ld-riscv-elf/ld-riscv-elf.exp
@@ -19,6 +19,6 @@
 # MA 02110-1301, USA.
 #
 
-if [is_target "riscv-*-*"] {
+if [istarget "riscv-*-*"] {
     run_dump_test "c-lui"
 }



More information about the Binutils-cvs mailing list