[PATCH] RISC-V: Fix gas configure support for riscv*-*-*.
Jim Wilson
jimw@sifive.com
Sat Jul 28 06:56:00 GMT 2018
This fixes an oversight with the earlier attempt to add riscv* as an alias for
riscv32*. I only did a build test, and gas builds but doesn't work, so I
missed the fact I needed a gas configure change.
This was tested with a riscv-elf build and make check. The results are
comparable to riscv32-elf.
Committed.
Jim
gas/
* configure.tgt (riscv*): Accept as alias for riscv32*.
---
gas/configure.tgt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gas/configure.tgt b/gas/configure.tgt
index 3d0415c1aa..6df7dea31f 100644
--- a/gas/configure.tgt
+++ b/gas/configure.tgt
@@ -89,8 +89,8 @@ case ${cpu} in
pj*) cpu_type=pj endian=big ;;
powerpc*le*) cpu_type=ppc endian=little ;;
powerpc*) cpu_type=ppc endian=big ;;
- riscv32*) cpu_type=riscv endian=little arch=riscv32 ;;
riscv64*) cpu_type=riscv endian=little arch=riscv64 ;;
+ riscv32* | riscv*) cpu_type=riscv endian=little arch=riscv32 ;;
rs6000*) cpu_type=ppc ;;
rl78*) cpu_type=rl78 ;;
rx) cpu_type=rx ;;
--
2.17.1
More information about the Binutils
mailing list