start-sanitize-d10v
[deliverable/binutils-gdb.git] / opcodes / .Sanitize
index 50bd4db1d61ebbfb2df02710db2d17dcf55681a1..a48dfd80548941c4e471e74b3ce8966885e70171 100644 (file)
@@ -23,6 +23,14 @@ else
        lose_these_too="${arc_files} ${lose_these_too}"
 fi
 
+d10v_files="d10v-dis.c d10v-opc.c"
+
+if ( echo $* | grep keep\-d10v > /dev/null ) ; then
+       keep_these_too="${d10v_files} ${keep_these_too}"
+else
+       lose_these_too="${d10v_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
@@ -105,23 +113,23 @@ else
        done
 fi
 
-h8s_files="ChangeLog disassemble.c h8300-dis.c"
-if ( echo $* | grep keep\-h8s > /dev/null ) ; then
-       for i in $h8s_files ; do
-               if test ! -d $i && (grep sanitize-h8s $i > /dev/null) ; then
+d10v_files="ChangeLog Makefile.in configure.in configure disassemble.c"
+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
                        if [ -n "${verbose}" ] ; then
-                               echo Keeping h8s stuff in $i
+                               echo Keeping d10v stuff in $i
                        fi
                fi
        done
 else
-       for i in $h8s_files ; do
-               if test ! -d $i && (grep sanitize-h8s $i > /dev/null) ; then
+       for i in $d10v_files ; do
+               if test ! -d $i && (grep sanitize-d10v $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Removing traces of \"h8s\" from $i...
+                               echo Removing traces of \"d10v\" from $i...
                        fi
                        cp $i new
-                       sed '/start\-sanitize\-h8s/,/end-\sanitize\-h8s/d' < $i > new
+                       sed '/start\-sanitize\-d10v/,/end-\sanitize\-d10v/d' < $i > new
                        if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
                                if [ -n "${verbose}" ] ; then
                                        echo Caching $i in .Recover...
This page took 0.024489 seconds and 4 git commands to generate.