RISC-V: Add support for riscv-*-*.
authorJim Wilson <jimw@sifive.com>
Fri, 6 Jul 2018 03:14:47 +0000 (03:14 +0000)
committerJim Wilson <wilson@gcc.gnu.org>
Fri, 6 Jul 2018 03:14:47 +0000 (20:14 -0700)
* config.gcc (riscv*-*-*): When setting xlen, handle riscv-*.

From-SVN: r262463

gcc/ChangeLog
gcc/config.gcc

index 6ede47261a86cb87c059e07ea2ba5ce74b356188..22991846d52542b368f2316b933cc41bb2f97c0a 100644 (file)
@@ -1,3 +1,7 @@
+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 
index 63162aab676b621b061b02c9fc7238f6d82023b9..78e84c2b864bd63a4df74b684b7810bdd9c397ab 100644 (file)
@@ -4091,7 +4091,7 @@ case "${target}" in
                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