This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] First part of fix for riscv gas lns-common-1 failure.


This is part of the fix for the riscv lns-common-1 gas testsuite failure.
Riscv defines DWARF2_USE_FIXED_ADVANCE_PC, so it must use the alternate files
for the lns-common-1 like other other similar targets.

Tested on riscv32-elf, riscv64-elf, and x86_64-linux.

This is trivially correct, so I went ahead and committed it.

	gas/
	* testsuite/gas/lns/lns.exp (lns-common-1): Add riscv*-*-* to alt list.
---
 gas/ChangeLog                 | 4 ++++
 gas/testsuite/gas/lns/lns.exp | 1 +
 2 files changed, 5 insertions(+)

diff --git a/gas/ChangeLog b/gas/ChangeLog
index b61b8e9317..f9273938da 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2017-11-14  Jim Wilson  <jimw@sifive.com>
+
+	* testsuite/gas/lns/lns.exp (lns-common-1): Add riscv*-*-* to alt list.
+
 2017-11-14  Jan Beulich  <jbeulich@suse.com>
 
 	* testsuite/gas/i386/x86-64-xop.d, testsuite/gas/i386/xop.d,
diff --git a/gas/testsuite/gas/lns/lns.exp b/gas/testsuite/gas/lns/lns.exp
index c31e677965..5224f07917 100644
--- a/gas/testsuite/gas/lns/lns.exp
+++ b/gas/testsuite/gas/lns/lns.exp
@@ -39,6 +39,7 @@ if {
 	 || [istarget msp430-*-*]
 	 || [istarget nds32*-*-*]
 	 || [istarget pru-*-*]
+	 || [istarget riscv*-*-*]
 	 || [istarget rl78-*-*]
 	 || [istarget xtensa*-*-*] } {
       run_dump_test "lns-common-1-alt"
-- 
2.14.1


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]