From dedbf076ad457fd084e43c54bf94d3fd27293563 Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Mon, 14 Mar 2016 16:13:20 -0700 Subject: [PATCH] No need to patch config.sub anymore! RISC-V is in the mainline for all gcc, binutils, and glibc. --- patches/binutils | 12 ------------ patches/gcc | 12 ------------ 2 files changed, 24 deletions(-) diff --git a/patches/binutils b/patches/binutils index a1d31812867..20d5b42fef2 100644 --- a/patches/binutils +++ b/patches/binutils @@ -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 diff --git a/patches/gcc b/patches/gcc index e3084ee028a..bd7a6efe89c 100644 --- a/patches/gcc +++ b/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*-*-*)