From c2304cbab66a808007a62aa84d8a381753528657 Mon Sep 17 00:00:00 2001 From: Martin Hunt Date: Wed, 19 Feb 1997 01:34:14 +0000 Subject: [PATCH] Tue Feb 18 17:32:42 1997 Martin M. Hunt * config.sub, configure.in: Add d30v target cpu. --- .Sanitize | 33 +++++++++++++++++++++++++++++++++ ChangeLog | 11 +++++++++++ config.sub | 47 ++++++++++++++++++++++++++++++++++++++++++++--- configure.in | 5 +++++ 4 files changed, 93 insertions(+), 3 deletions(-) diff --git a/.Sanitize b/.Sanitize index a5c3f764c94..79e0140d45e 100644 --- a/.Sanitize +++ b/.Sanitize @@ -270,6 +270,39 @@ else done fi +if [ -n "${verbose}" ] ; then + echo Processing \"d30v\"... +fi + +d30v_files="ChangeLog config.sub configure.in" + +if ( echo $* | grep keep\-d30v > /dev/null ) ; then + for i in $d30v_files ; do + if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping d30v stuff in $i + fi + fi + done +else + for i in * ; do + if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"d30v\" from $i... + fi + cp $i new + sed '/start\-sanitize\-d30v/,/end-\sanitize\-d30v/d' < $i > new + if [ -n "${safe}" -a ! -f .Recover/$i ] ; then + if [ -n "${verbose}" ] ; then + echo Caching $i in .Recover... + fi + mv $i .Recover + fi + mv new $i + fi + done +fi + if [ -n "${verbose}" ] ; then echo Processing \"m32r\"... fi diff --git a/ChangeLog b/ChangeLog index 552ae217172..e3d8db7af23 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +start-sanitize-d30v +Tue Feb 18 17:32:42 1997 Martin M. Hunt + + * config.sub, configure.in: Add d30v target cpu. + +end-sanitize-d30v +Thu Feb 13 22:04:44 1997 Klaus Kaempf + + * makefile.vms: New file. + * make-all.com: Remove. + Wed Feb 12 12:54:18 1997 Jim Wilson * Makefile.in (EXTRA_GCC_FLAGS): Add LIBGCC2_DEBUG_CFLAGS. diff --git a/config.sub b/config.sub index 626de2a75b8..729e26ac6ac 100755 --- a/config.sub +++ b/config.sub @@ -108,6 +108,9 @@ case $os in os=vxworks basic_machine=$1 ;; + -hiuxmpp) + os=-hiuxmpp + ;; -hiux*) os=-hiuxwe2 ;; @@ -180,13 +183,18 @@ case $basic_machine in mips64vr5000 | mips64vr5000el) # CYGNUS LOCAL ian/vr5000 basic_machine=$basic_machine-unknown ;; +# start-sanitize-r5900 + mips64vr5900 | mips64vr5900el) # CYGNUS LOCAL gavin/r5900 + basic_machine=$basic_machine-unknown + ;; +# end-sanitize-r5900 mips16) # CYGNUS LOCAL krk/mips16 basic_machine=$basic_machine-unknown ;; -# CYGNUS LOCAL law mn10300) basic_machine=$basic_machine-unknown ;; +# CYGNUS LOCAL law mn10200) basic_machine=$basic_machine-unknown ;; @@ -206,6 +214,11 @@ case $basic_machine in basic_machine=$basic_machine-unknown ;; # end-sanitize-d10v +# start-sanitize-d30v + d30v) # CYGNUS LOCAL hunt/d30v + basic_machine=$basic_machine-unknown + ;; +# end-sanitize-d30v # start-sanitize-m32r m32r) # CYGNUS LOCAL basic_machine=$basic_machine-unknown @@ -238,12 +251,16 @@ case $basic_machine in | pdp11-* | sh-* | powerpc-* | powerpcle-* | sparc64-* | mips64-* | mipsel-* \ | mips64el-* | mips64orion-* | mips64orionel-* | f301-*) ;; - m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | h8500-* | v850-* | d10v-*) # CYGNUS LOCAL + m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | h8500-* | v850-* | d10v-* | d30v-*) # CYGNUS LOCAL ;; mips64vr4300-* | mips64vr4300el-*) # CYGNUS LOCAL jsmith/vr4300 ;; mips64vr4100-* | mips64vr4100el-*) # CYGNUS LOCAL jsmith/vr4100 ;; +# start-sanitize-r5900 + mips64vr5900-* | mips64vr5900el-*) # CYGNUS LOCAL gavin/r5900 + ;; +# end-sanitize-r5900 mips16-*) # CYGNUS LOCAL krk/mips16 ;; # start-sanitize-tic80 @@ -400,6 +417,10 @@ case $basic_machine in basic_machine=tron-gmicro os=-sysv ;; + hiuxmpp) + basic_machine=hppa1.1-hitachi + os=-hiuxmpp + ;; h3050r* | hiux*) basic_machine=hppa1.1-hitachi os=-hiuxwe2 @@ -527,6 +548,14 @@ case $basic_machine in miniframe) basic_machine=m68000-convergent ;; + mipsel*-linux*) + basic_machine=mipsel-unknown + os=-linux + ;; + mips*-linux*) + basic_machine=mips-unknown + os=-linux + ;; mips3*-*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` ;; @@ -660,6 +689,11 @@ case $basic_machine in ps2) basic_machine=i386-ibm ;; +# start-sanitize-r5900 + r5900) # CYGNUS LOCAL + basic_machine=mips64vr5900el-unknown + ;; +# end-sanitize-r5900 rom68k) # CYGNUS LOCAL basic_machine=m68k-rom68k os=-coff @@ -813,7 +847,11 @@ case $basic_machine in basic_machine=hppa1.1-oki ;; mips) - basic_machine=mips-mips + if [ x$os = x-linux ]; then + basic_machine=mips-unknown + else + basic_machine=mips-mips + fi ;; romp) basic_machine=romp-ibm @@ -1032,6 +1070,9 @@ case $basic_machine in mips*-cisco) # CYGNUS LOCAL os=-elf ;; + mips*-*) # CYGNUS LOCAL + os=-elf + ;; *-tti) # must be before sparc entry or we get the wrong os. os=-sysv3 ;; diff --git a/configure.in b/configure.in index e11ca63e397..d9a381791e0 100644 --- a/configure.in +++ b/configure.in @@ -428,6 +428,11 @@ case "${target}" in noconfigdirs="$noconfigdirs target-librx target-libg++ target-libstdc++ target-libio target-libgloss" ;; # end-sanitize-d10v +# start-sanitize-d30v + d30v-*-*) + noconfigdirs="$noconfigdirs sim tcl tk expect gcc gdb newlib ld target-librx target-libg++ target-libstdc++ target-libio target-libgloss" + ;; +# end-sanitize-d30v h8300*-*-* | \ h8500-*-*) noconfigdirs="$noconfigdirs target-libg++ target-libstdc++ target-libio target-librx target-libgloss"