[PATCH] First part of fix for riscv gas lns-common-1 failure.
Jim Wilson
jimw@sifive.com
Wed Nov 15 01:24:00 GMT 2017
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
More information about the Binutils
mailing list