Skip to content

Commit

Permalink
No need to patch config.sub anymore!
Browse files Browse the repository at this point in the history
RISC-V is in the mainline for all gcc, binutils, and glibc.
  • Loading branch information
Andrew Waterman committed Mar 14, 2016
1 parent fcb96e3 commit dedbf07
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 24 deletions.
12 changes: 0 additions & 12 deletions patches/binutils
Expand Up @@ -266,18 +266,6 @@
case EM_ARM: /* R_ARM_NONE. */
case EM_IA_64: /* R_IA64_NONE. */
case EM_SH: /* R_SH_NONE. */
--- original-binutils/config.sub
+++ binutils/config.sub
@@ -335,6 +335,9 @@ case $basic_machine in
ms1)
basic_machine=mt-unknown
;;
+ riscv)
+ basic_machine=riscv-ucb
+ ;;

strongarm | thumb | xscale)
basic_machine=arm-unknown
--- original-binutils/gas/configure.ac
+++ binutils/gas/configure.ac
@@ -453,7 +453,7 @@ changequote([,])dnl
Expand Down
12 changes: 0 additions & 12 deletions patches/gcc
@@ -1,15 +1,3 @@
--- original-gcc/config.sub
+++ gcc/config.sub
@@ -340,6 +340,9 @@ case $basic_machine in
ms1)
basic_machine=mt-unknown
;;
+ riscv)
+ basic_machine=riscv-ucb
+ ;;

strongarm | thumb | xscale)
basic_machine=arm-unknown
--- original-gcc/gcc/config.gcc
+++ gcc/gcc/config.gcc
@@ -439,6 +439,10 @@ powerpc*-*-*)
Expand Down

0 comments on commit dedbf07

Please sign in to comment.