sanitize law's 15 jul r5900 change
[deliverable/binutils-gdb.git] / gas / .Sanitize
index eebfe6d043fd42f99271aea41cc41119390e2444..26e09447f93e1b5400c464f92ecb9ef0505b920a 100644 (file)
 
 Do-first:
 
+lose_these_too=""
+for d in obsolete regress regress.m68k testscripts ; do
+    if [ -d $d ]; then
+       lose_these_too="${lose_these_too} $d"
+    fi
+done
+
 # 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
@@ -27,13 +34,13 @@ CONTRIBUTORS
 COPYING
 ChangeLog
 ChangeLog.1
+Makefile.am
 Makefile.in
 NEWS
-NOTES
-NOTES.config
 README
 README-vms
 acconfig.h
+acinclude.m4
 aclocal.m4
 app.c
 as.c
@@ -42,15 +49,17 @@ atof-generic.c
 bignum-copy.c
 bignum.h
 bit_fix.h
+cgen.c
 cond.c
-conf-a-gas.com
-conf.in
 config
+config.in
 config-gas.com
 configure
 configure.bat
 configure.in
 debug.c
+dep-in.sed
+depend.c
 doc
 ecoff.c
 ecoff.h
@@ -75,6 +84,10 @@ link.cmd
 listing.c
 listing.h
 literal.c
+itbl-lex.l
+itbl-ops.c
+itbl-ops.h
+itbl-parse.y
 mac-as.r
 macro.c
 macro.h
@@ -90,6 +103,7 @@ read.h
 sb.c
 sb.h
 stabs.c
+stamp-h.in
 struc-symbol.h
 subsegs.c
 subsegs.h
@@ -105,23 +119,23 @@ Things-to-lose:
 
 Do-last:
 
-arc_files="ChangeLog configure.in configure Makefile.in ChangeLog.1"
-if ( echo $* | grep keep\-arc > /dev/null ) ; then
-       for i in $arc_files ; do
-               if test ! -d $i && (grep sanitize-arc $i > /dev/null) ; then
+v850_files="ChangeLog configure.in configure"
+if ( echo $* | grep keep\-v850e > /dev/null ) ; then
+       for i in $v850_files ; do
+               if test ! -d $i && (grep sanitize-v850e $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Keeping arc stuff in $i
+                               echo Keeping v850e stuff in $i
                        fi
                fi
        done
 else
-       for i in $arc_files ; do
-               if test ! -d $i && (grep sanitize-arc $i > /dev/null) ; then
+       for i in $v850_files ; do
+               if test ! -d $i && (grep sanitize-v850e $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Removing traces of \"arc\" from $i...
+                               echo Removing traces of \"v850e\" from $i...
                        fi
                        cp $i new
-                       sed '/start\-sanitize\-arc/,/end-\sanitize\-arc/d' < $i > new
+                       sed '/start\-sanitize\-v850e/,/end-\sanitize\-v850e/d' < $i > new
                        if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
                                if [ -n "${verbose}" ] ; then
                                        echo Caching $i in .Recover...
@@ -133,22 +147,23 @@ else
        done
 fi
 
-if ( echo $* | grep keep\-gm > /dev/null ) ; then
-       for i in * ; do
-               if test ! -d $i && (grep sanitize-gm $i > /dev/null) ; then
+r5900_files="ChangeLog configure configure.in"
+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
                        if [ -n "${verbose}" ] ; then
-                               echo Keeping gm stuff in $i
+                               echo Keeping r5900 stuff in $i
                        fi
                fi
        done
 else
-       for i in * ; do
-               if test ! -d $i && (grep sanitize-gm $i > /dev/null) ; then
+       for i in $r5900_files ; do
+               if test ! -d $i && (grep sanitize-r5900 $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Removing traces of \"gm\" from $i...
+                               echo Removing traces of \"r5900\" from $i...
                        fi
                        cp $i new
-                       sed '/start\-sanitize\-gm/,/end-\sanitize\-gm/d' < $i > new
+                       sed '/start\-sanitize\-r5900/,/end-\sanitize\-r5900/d' < $i > new
                        if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
                                if [ -n "${verbose}" ] ; then
                                        echo Caching $i in .Recover...
@@ -160,24 +175,51 @@ else
        done
 fi
 
+tx19_files="ChangeLog"
+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 tx19 stuff in $i
+                       fi
+               fi
+       done
+else
+       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 \"tx19\" from $i...
+                       fi
+                       cp $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
 
-d10v_files="ChangeLog configure.in configure Makefile.in"
-if ( echo $* | grep keep\-d10v > /dev/null ) ; then
-       for i in $d10v_files ; do
-               if test ! -d $i && (grep sanitize-d10v $i > /dev/null) ; then
+tic80_files="ChangeLog configure.in configure"
+if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
+       for i in $tic80_files ; do
+               if test ! -d $i && (grep sanitize-tic80 $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Keeping d10v stuff in $i
+                               echo Keeping tic80 stuff in $i
                        fi
                fi
        done
 else
-       for i in $d10v_files ; do
-               if test ! -d $i && (grep sanitize-d10v $i > /dev/null) ; then
+       for i in $tic80_files ; do
+               if test ! -d $i && (grep sanitize-tic80 $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Removing traces of \"d10v\" from $i...
+                               echo Removing traces of \"tic80\" from $i...
                        fi
                        cp $i new
-                       sed '/start\-sanitize\-d10v/,/end-\sanitize\-d10v/d' < $i > new
+                       sed '/start\-sanitize\-tic80/,/end-\sanitize\-tic80/d' < $i > new
                        if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
                                if [ -n "${verbose}" ] ; then
                                        echo Caching $i in .Recover...
@@ -189,23 +231,55 @@ else
        done
 fi
 
-v850_files="ChangeLog configure.in configure Makefile.in"
-if ( echo $* | grep keep\-v850 > /dev/null ) ; then
-       for i in $v850_files ; do
-               if test ! -d $i && (grep sanitize-v850 $i > /dev/null) ; then
+d30v_files="ChangeLog configure 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 v850 stuff in $i
+                               echo Keeping d30v stuff in $i
                        fi
                fi
        done
 else
-       for i in $v850_files ; do
-               if test ! -d $i && (grep sanitize-v850 $i > /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 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 \"sh4\"...
+fi
+
+sh4_files="ChangeLog"
+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
+                       if [ -n "${verbose}" ] ; then
+                               echo Keeping sh4 stuff in $i
+                       fi
+               fi
+       done
+else
+       for i in $sh4_files ; do
+               if test ! -d $i && (grep sanitize-sh4 $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Removing traces of \"v850\" from $i...
+                               echo Removing traces of \"sh4\" from $i...
                        fi
                        cp $i new
-                       sed '/start\-sanitize\-v850/,/end-\sanitize\-v850/d' < $i > new
+                       sed -e '/start\-sanitize\-sh4/,/end-\sanitize\-sh4/d' -e 's/.*restore\-sanitize\-sh4//' < $i > new
                        if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
                                if [ -n "${verbose}" ] ; then
                                        echo Caching $i in .Recover...
This page took 0.027785 seconds and 4 git commands to generate.