From f925411473703fe83348ddb35d593593e8b3bf59 Mon Sep 17 00:00:00 2001
From: nickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Tue, 21 Sep 1999 15:17:53 +0000
Subject: [PATCH] Add FR30 target.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29548 138bc75d-0d04-0410-961f-82ee72b054a4
---
 ChangeLog    | 6 ++++++
 MAINTAINERS  | 1 +
 config.sub   | 4 ++--
 configure.in | 7 ++++++-
 4 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index ac03aa6c4b6c..981711d9e951 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+1999-09-21  Nick Clifton  <nickc@cygnus.com>
+
+	* config.sub: Add fr30 target.
+	* configure.in: Add fr30 target.
+	* MAINTAINERS: Add fr30 maintainer.
+
 Tue Sep  7 23:33:57 1999  Linas Vepstas  <linas@linas.org>
 
 	* config.guess: Add OS/390 match pattern.
diff --git a/MAINTAINERS b/MAINTAINERS
index 36f538030ed3..14636358c5f7 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -36,6 +36,7 @@ sparc port		David S. Miller		davem@redhat.com
 x86 ports		Stan Cox		scox@cygnus.com
 c4x port		Michael Hayes		m.hayes@elec.canterbury.ac.nz
 arc port		Richard Kenner		kenner@nyu.edu
+fr30 port		Nick Clifton		niclc@cygnus.com
 fortran			Craig Burley		craig@jcb-sc.com
 fortran			Richard Henderson	rth@cygnus.com	
 c++			Jason Merrill		jason@cygnus.com
diff --git a/config.sub b/config.sub
index 040a067d331a..cecbe74df953 100755
--- a/config.sub
+++ b/config.sub
@@ -174,7 +174,7 @@ case $basic_machine in
 		| mips64vr5000 | miprs64vr5000el \
 	        | m88110 | m680[012346]0 | m683?2 | m68360 | m5200 | z8k | v70 \
 		| sparc | sparclet | sparclite | sparc64 | sparc86x | sparcv9 \
-		| thumb | v850 | c4x | d10v | h8500 | w65)
+		| thumb | v850 | c4x | d10v | h8500 | w65 | fr30)
 		basic_machine=$basic_machine-unknown
 		;;
 	# We use `pc' rather than `unknown'
@@ -205,7 +205,7 @@ case $basic_machine in
 	      | mipstx39-* | mipstx39el-* \
 	      | f301-* | arm*-* | t3e-* \
 	      | m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \
-	      | thumb-* | v850-* | d30v-* | tic30-* | c30-* )
+	      | thumb-* | v850-* | d30v-* | tic30-* | c30-* | fr30-* )
 		;;
 	# Recognize the various machine names and aliases which stand
 	# for a CPU type and a company and sometimes even an OS.
diff --git a/configure.in b/configure.in
index a68f923ce79e..ae30d3981941 100644
--- a/configure.in
+++ b/configure.in
@@ -352,7 +352,7 @@ case "${enable_target_optspace}:${target}" in
   yes:*)
     target_makefile_frag="${target_makefile_frag} config/mt-ospace"
     ;;
-  :m32r-*)
+  :m32r-* | fr30-*)
     target_makefile_frag="${target_makefile_frag} config/mt-ospace"
     ;;
   no:* | :*)
@@ -612,6 +612,11 @@ case "${target}" in
   d10v-*-*)
     noconfigdirs="$noconfigdirs target-librx target-libg++ target-libstdc++ target-libio target-libgloss"
     ;;
+  fr30-*-elf*)
+    if [ x${is_cross_compiler} != xno ] ; then
+	   target_configdirs="${target_configdirs} target-bsp target-libstub target-cygmon"
+    fi
+    ;;
   h8300*-*-* | \
   h8500-*-*)
     noconfigdirs="$noconfigdirs target-libg++ target-libstdc++ target-libio target-librx target-libgloss"
-- 
GitLab