* elf64-alpha.c: Initial implementation of relaxation --
[binutils-gdb.git] / bfd / .Sanitize
index 345328d8af269d2a2f1c6d4c03ea6905029f2fe8..d40292f1f12af1c6a60605668bb8be57eed677c8 100644 (file)
@@ -31,14 +31,6 @@ else
        lose_these_too="${tic80_files} ${lose_these_too}"
 fi
 
-sky_files="cpu-txvu.c elf32-txvu.c"
-
-if ( echo $* | grep keep\-sky > /dev/null ) ; then
-       keep_these_too="${sky_files} ${keep_these_too}"
-else
-       lose_these_too="${sky_files} ${lose_these_too}"
-fi
-
 # All files listed between the "Things-to-keep:" line and the
 # "Files-to-sed:" line will be kept.  All other files will be removed.
 # Directories listed in this section will have their own Sanitize
@@ -66,6 +58,7 @@ aout-encap.c
 aout-ns32k.c
 aout-sparcle.c
 aout-target.h
+aout-tic30.c
 aout0.c
 aout32.c
 aout64.c
@@ -104,6 +97,7 @@ coff-sh.c
 coff-sparc.c
 coff-stgo32.c
 coff-svm68k.c
+coff-tic30.c
 coff-u68k.c
 coff-we32k.c
 coff-w65.c
@@ -142,6 +136,7 @@ cpu-powerpc.c
 cpu-rs6000.c
 cpu-sh.c
 cpu-sparc.c
+cpu-tic30.c
 cpu-v850.c
 cpu-vax.c
 cpu-we32k.c
@@ -290,6 +285,7 @@ targets.c
 targmatch.sed
 tekhex.c
 trad-core.c
+vaxnetbsd.c
 versados.c
 xcofflink.c
 
@@ -354,7 +350,7 @@ else
        done
 fi
 
-r5900_files="ChangeLog config.bfd"
+r5900_files="ChangeLog config.bfd archures.c bfd-in2.h cpu-mips.c elf32-mips.c libbfd.h reloc.c"
 if ( echo $* | grep keep\-r5900 > /dev/null ) ; then
        for i in $r5900_files ; do
                if test ! -d $i && (grep sanitize-r5900 $i > /dev/null) ; then
@@ -382,23 +378,51 @@ else
        done
 fi
 
-sh4_files="ChangeLog config.bfd archures.c bfd-in2.h cpu-sh.c"
-if ( echo $* | grep keep\-sh4 > /dev/null ) ; then
-       for i in $sh4_files ; do
-               if test ! -d $i && (grep sanitize-sh4 $i > /dev/null) ; then
+tx19_files="archures.c bfd-in2.h cpu-mips.c"
+if ( echo $* | grep keep\-tx19 > /dev/null ) ; then
+       for i in $tx19_files ; do
+               if test ! -d $i && (grep sanitize-tx19 $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Keeping sh4 stuff in $i
+                               echo Keeping tx19 stuff in $i
                        fi
                fi
        done
 else
-       for i in $sh4_files ; do
-               if test ! -d $i && (grep sanitize-sh4 $i > /dev/null) ; then
+       for i in $tx19_files ; do
+               if test ! -d $i && (grep sanitize-tx19 $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Removing traces of \"sh4\" from $i...
+                               echo Removing traces of \"tx19\" from $i...
                        fi
                        cp $i new
-                       sed '/start\-sanitize\-sh4/,/end-\sanitize\-sh4/d' < $i > new
+                       sed '/start\-sanitize\-tx19/,/end-\sanitize\-tx19/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
+
+tx49_files="archures.c bfd-in2.h cpu-mips.c"
+if ( echo $* | grep keep\-tx49 > /dev/null ) ; then
+       for i in $tx49_files ; do
+               if test ! -d $i && (grep sanitize-tx49 $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Keeping tx49 stuff in $i
+                       fi
+               fi
+       done
+else
+       for i in $tx49_files ; do
+               if test ! -d $i && (grep sanitize-tx49 $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Removing traces of \"tx49\" from $i...
+                       fi
+                       cp $i new
+                       sed '/start\-sanitize\-tx49/,/end-\sanitize\-tx49/d' < $i > new
                        if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
                                if [ -n "${verbose}" ] ; then
                                        echo Caching $i in .Recover...
@@ -494,6 +518,34 @@ else
        done
 fi
 
+vr4320_files="ChangeLog archures.c bfd-in2.h cpu-mips.c"
+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
+
 m32rx_files="ChangeLog archures.c bfd-in2.h elf32-m32r.c cpu-m32r.c"
 if ( echo $* | grep keep\-m32rx > /dev/null ) ; then
        for i in $m32rx_files ; do
@@ -522,7 +574,7 @@ else
        done
 fi
 
-sky_files="ChangeLog Makefile.in Makefile.am archures.c elf.c reloc.c targets.c config.bfd configure.in configure bfd-in2.h libbfd.h"
+sky_files="ChangeLog archures.c elf32-mips.c reloc.c cpu-mips.c config.bfd configure.in configure bfd-in2.h libbfd.h"
 if ( echo $* | grep keep\-sky > /dev/null ) ; then
        for i in $sky_files ; do
                if test ! -d $i && (grep sanitize-sky $i > /dev/null) ; then