[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] config.sub patch for RISC-V
From: |
Palmer Dabbelt |
Subject: |
[PATCH] config.sub patch for RISC-V |
Date: |
Wed, 10 Sep 2014 19:20:32 -0700 |
* config.sub (riscv{32,64}): New.
* testsuite/config-sub.data: Add test cases.
---
ChangeLog | 5 +++++
config.sub | 3 ++-
testsuite/config-sub.data | 4 ++++
3 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index f134bc9..6771bca 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-09-10 Palmer Dabbelt <address@hidden>
+
+ * config.sub (riscv{32,64}): New.
+ * testsuite/config-sub.data: Add test cases.
+
2014-07-28 Anthony Green <address@hidden>
Ben Elliston <address@hidden>
diff --git a/config.sub b/config.sub
index 88a0cb4..35adbbe 100755
--- a/config.sub
+++ b/config.sub
@@ -2,7 +2,7 @@
# Configuration validation subroutine script.
# Copyright 1992-2014 Free Software Foundation, Inc.
-timestamp='2014-07-28'
+timestamp='2014-09-10'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@@ -302,6 +302,7 @@ case $basic_machine in
| pdp10 | pdp11 | pj | pjl \
| powerpc | powerpc64 | powerpc64le | powerpcle \
| pyramid \
+ | riscv32 | riscv64 \
| rl78 | rx \
| score \
| sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb |
shbe | shle | sh[1234]le | sh3ele \
diff --git a/testsuite/config-sub.data b/testsuite/config-sub.data
index e634227..7249dc0 100644
--- a/testsuite/config-sub.data
+++ b/testsuite/config-sub.data
@@ -203,6 +203,10 @@ ppc powerpc-unknown-none
rdos32 i386-pc-rdos
rdos64 x86_64-pc-rdos
rdos x86_64-pc-rdos
+riscv32-elf riscv32-unknown-elf
+riscv32-linux riscv32-unknown-linux-gnu
+riscv64-elf riscv64-unknown-elf
+riscv64-linux riscv64-unknown-linux-gnu
rl78-linux rl78-unknown-linux-gnu
rl78 rl78-unknown-none
rx-linux rx-unknown-linux-gnu
--
1.8.5.5