* configure.tgt (mips*vr4320el-*-elf*,mips*vr4320-*-elf*): Added.
authorGavin Romig-Koch <gavin@redhat.com>
Tue, 3 Mar 1998 16:20:17 +0000 (16:20 +0000)
committerGavin Romig-Koch <gavin@redhat.com>
Tue, 3 Mar 1998 16:20:17 +0000 (16:20 +0000)
ld/.Sanitize
ld/ChangeLog
ld/configure.tgt

index 1b8a91748ef7d68250080f80721c24b04b1ebf98..b8e01abf8701ec61403620c8d7d3bb082def857f 100644 (file)
@@ -176,6 +176,35 @@ else
        done
 fi
 
+vr4320_files="ChangeLog configure.tgt"
+
+if ( echo $* | grep keep\-vr4320 > /dev/null ) ; then
+       for i in $vr4320_files ; do
+               if test ! -d $i && (grep sanitize-vr4320 $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Keeping vr4320 stuff in $i
+                       fi
+               fi
+       done
+else
+       for i in $vr4320_files ; do
+               if test ! -d $i && (grep sanitize-vr4320 $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Removing traces of \"vr4320\" from $i...
+                       fi
+                       cp $i new
+                       sed '/start\-sanitize\-vr4320/,/end-\sanitize\-vr4320/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
+
 tic80_files="ChangeLog configure.tgt Makefile.am Makefile.in"
 
 if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
index f0a21299f9acdf9bc738dfdf004bf5b527c05988..50462b24ca9a6669dbfe31b95c0dcc0f87c31603 100644 (file)
@@ -1,3 +1,9 @@
+start-sanitize-vr4320
+Tue Mar  3 11:16:35 1998  Gavin Koch  <gavin@cygnus.com>
+
+       * configure.tgt (mips*vr4320el-*-elf*,mips*vr4320-*-elf*): Added.
+
+end-sanitize-vr4320
 Mon Mar  2 19:24:08 1998  Michael Meissner  <meissner@cygnus.com>
 
        * ldlang.c (lang_size_sections): If the default memory region is
index 7ece88270b0fa274c8ef6427d8b7bc53f8e3e4eb..55e6076c928696e35c86e557fee82de9064f161c 100644 (file)
@@ -33,13 +33,13 @@ sparc*-*-linux*aout*)       targ_emul=sparclinux
                        tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/aout//'`
                        tdir_sun4=sparc-sun-sunos4
                        ;;
-sparc64-*-linux*)      targ_emul=elf64_sparc
+sparc64-*-linux-gnu*)  targ_emul=elf64_sparc
                        targ_extra_emuls="elf32_sparc sparclinux sun4"
                        tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/64//'`
                        tdir_sparclinux=${tdir_elf32_sparc}aout
                        tdir_sun4=sparc-sun-sunos4
                        ;;
-sparc*-*-linux*)       targ_emul=elf32_sparc
+sparc*-*-linux-gnu*)   targ_emul=elf32_sparc
                        targ_extra_emuls="sparclinux sun4"
                        tdir_sparclinux=${targ_alias}aout
                        tdir_sun4=sparc-sun-sunos4
@@ -80,7 +80,7 @@ i[3456]86-*-linux*aout*)      targ_emul=i386linux
                        tdir_elf_i386=`echo ${targ_alias} | sed -e 's/aout//'`
                        ;;
 i[3456]86-*-linuxoldld)        targ_emul=i386linux; targ_extra_emuls=elf_i386 ;;
-i[3456]86-*-linux*)    targ_emul=elf_i386
+i[3456]86-*-linux-gnu*)        targ_emul=elf_i386
                        targ_extra_emuls=i386linux
                        tdir_i386linux=${targ_alias}aout
                        ;;
@@ -130,7 +130,7 @@ m68k-*-linux*aout*) targ_emul=m68klinux
                        targ_extra_emuls=m68kelf
                        tdir_m68kelf=`echo ${targ_alias} | sed -e 's/aout//'`
                        ;;
-m68k-*-linux*)         targ_emul=m68kelf
+m68k-*-linux-gnu*)     targ_emul=m68kelf
                        targ_extra_emuls=m68klinux
                        tdir_m68klinux=`echo ${targ_alias} | sed -e 's/linux/linuxaout/'`
                        ;;
@@ -152,6 +152,10 @@ mips*-*-ecoff*)            targ_emul=mipsidt ;;
 mips*-dec-bsd*)                targ_emul=mipsbsd ;;
 mips*-dec-netbsd*)     targ_emul=elf32lmip ;;
 mips*-*-bsd*)          targ_emul=mipsbig ;;
+# start-sanitize-vr4320
+mips*vr4320el-*-elf*)  targ_emul=elf32l4300 ;;
+mips*vr4320-*-elf*)    targ_emul=elf32b4300 ;;
+# end-sanitize-vr4320
 mips*vr4300el-*-elf*)  targ_emul=elf32l4300 ;;
 mips*vr4300-*-elf*)    targ_emul=elf32b4300 ;;
 mips*vr4100el-*-elf*)  targ_emul=elf32l4300 ;;
@@ -168,10 +172,10 @@ mips*r5900*-*-elf*)       targ_emul=elf32l5900 ;;
 mips*el-*-elf*)                targ_emul=elf32elmip ;;
 mips*-*-elf*)          targ_emul=elf32ebmip ;;
 mips*-*-rtems*)                targ_emul=elf32ebmip ;;
-mips*el-*-linux*)      targ_emul=elf32lsmip
+mips*el-*-linux-gnu*)  targ_emul=elf32lsmip
                        targ_extra_emuls="elf32bsmip mipslit mipsbig"
                        ;;
-mips*-*-linux*)                targ_emul=elf32bsmip
+mips*-*-linux-gnu*)    targ_emul=elf32bsmip
                        targ_extra_emuls="elf32lsmip mipsbig mipslit"
                        ;;
 mips*-*-lnews*)                targ_emul=mipslnews ;;
@@ -180,16 +184,18 @@ mn10300-*-*)              targ_emul=mn10300 ;;
 alpha*-*-linuxecoff*)  targ_emul=alpha targ_extra_emuls=elf64alpha
                        tdir_elf64alpha=`echo ${targ_alias} | sed -e 's/ecoff//'`
                        ;;
-alpha*-*-linux*)       targ_emul=elf64alpha targ_extra_emuls=alpha
+alpha*-*-linux-gnu*)   targ_emul=elf64alpha targ_extra_emuls=alpha
                        tdir_alpha=`echo ${targ_alias} | sed -e 's/linux/linuxecoff/'`
                        ;;
 alpha*-*-osf*)         targ_emul=alpha ;;
 alpha*-*-gnu*)         targ_emul=elf64alpha ;;
 alpha*-*-netware*)     targ_emul=alpha ;;
+alpha*-*-netbsd*)      targ_emul=elf64alpha ;;
 z8k-*-coff)            targ_emul=z8002; targ_extra_emuls=z8001 ;;
 ns32k-pc532-mach* | ns32k-pc532-ux*)   targ_emul=pc532macha ;;
 ns32k-pc532-netbsd* | ns32k-pc532-lites*) targ_emul=ns32knbsd ;;
-powerpc-*-elf* | powerpc-*-eabi* | powerpc-*-linux* | powerpc-*-sysv*)
+powerpc-*-elf* | powerpc-*-eabi* | powerpc-*-linux-gnu* | powerpc-*-sysv* \
+  | powerpc-*-netbsd*)
        targ_emul=elf32ppc ;;
 powerpcle-*-elf* | powerpcle-*-eabi* | powerpcle-*-solaris* | powerpcle-*-sysv*)       targ_emul=elf32lppc ;;
 powerpc-*-rtems*)      targ_emul=elf32ppc ;;