Tue Mar 24 18:32:47 1998 H.J. Lu <hjl@gnu.org>
[deliverable/binutils-gdb.git] / include / .Sanitize
index b58d8d31c62e29e6d2b0fea6390967401a9e5483..179ede4266f630f9bc9fac5681728d3487502886 100644 (file)
@@ -48,10 +48,14 @@ libiberty.h
 mpw
 nlm
 oasys.h
+objalloc.h
 obstack.h
 os9k.h
 opcode
 progress.h
+regs
+remote-sim.h
+symcat.h
 wait.h
 
 Things-to-lose:
@@ -59,52 +63,23 @@ Things-to-lose:
 
 Do-last:
 
-arc_files="ChangeLog dis-asm.h"
-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
-                       if [ -n "${verbose}" ] ; then
-                               echo Keeping arc stuff in $i
-                       fi
-               fi
-       done
-else
-       for i in $arc_files ; do
-               if test ! -d $i && (grep sanitize-arc $i > /dev/null) ; then
-                       if [ -n "${verbose}" ] ; then
-                               echo Removing traces of \"arc\" from $i...
-                       fi
-                       cp $i new
-                       sed '/start\-sanitize\-arc/,/end-\sanitize\-arc/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
-
-
-m32r_files="ChangeLog dis-asm.h"
-if ( echo $* | grep keep\-m32r > /dev/null ) ; then
-       for i in $m32r_files ; do
-               if test ! -d $i && (grep sanitize-m32r $i > /dev/null) ; then
+tic80_files="ChangeLog dis-asm.h"
+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 m32r stuff in $i
+                               echo Keeping tic80 stuff in $i
                        fi
                fi
        done
 else
-       for i in $m32r_files ; do
-               if test ! -d $i && (grep sanitize-m32r $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 \"m32r\" from $i...
+                               echo Removing traces of \"tic80\" from $i...
                        fi
                        cp $i new
-                       sed '/start\-sanitize\-m32r/,/end-\sanitize\-m32r/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...
@@ -116,23 +91,23 @@ else
        done
 fi
 
-v850_files="ChangeLog dis-asm.h"
-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 dis-asm.h"
+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 \"v850\" from $i...
+                               echo Removing traces of \"d30v\" from $i...
                        fi
                        cp $i new
-                       sed '/start\-sanitize\-v850/,/end-\sanitize\-v850/d' < $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...
@@ -144,23 +119,23 @@ else
        done
 fi
 
-tic80_files="ChangeLog dis-asm.h"
-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
+sky_files="ChangeLog dis-asm.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
                        if [ -n "${verbose}" ] ; then
-                               echo Keeping tic80 stuff in $i
+                               echo Keeping sky stuff in $i
                        fi
                fi
        done
 else
-       for i in $tic80_files ; do
-               if test ! -d $i && (grep sanitize-tic80 $i > /dev/null) ; then
+       for i in $sky_files ; do
+               if test ! -d $i && (grep sanitize-sky $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Removing traces of \"tic80\" from $i...
+                               echo Removing traces of \"sky\" from $i...
                        fi
                        cp $i new
-                       sed '/start\-sanitize\-tic80/,/end-\sanitize\-tic80/d' < $i > new
+                       sed '/start\-sanitize\-sky/,/end-\sanitize\-sky/d' < $i > new
                        if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
                                if [ -n "${verbose}" ] ; then
                                        echo Caching $i in .Recover...
This page took 0.02518 seconds and 4 git commands to generate.