* config.gcc (riscv*-*-*): When setting xlen, handle riscv-*.
From-SVN: r262463
+2018-07-05 Jim Wilson <jimw@sifive.com>
+
+ * config.gcc (riscv*-*-*): When setting xlen, handle riscv-*.
+
2018-07-05 Indu Bhagat <indu.bhagat@oracle.com>
* config/aarch64/aarch64-simd.md: correct flags text for
supported_defaults="abi arch tune"
case "${target}" in
- riscv32*) xlen=32 ;;
+ riscv-* | riscv32*) xlen=32 ;;
riscv64*) xlen=64 ;;
*) echo "Unsupported RISC-V target ${target}" 1>&2; exit 1 ;;
esac