* fr30-opc.c: Regenerate.
[deliverable/binutils-gdb.git] / opcodes / .Sanitize
index 21f4cc9de7f888c5824da261de6215ac75cc31e8..a51c122da496d0f144393fc312522719bf0c667c 100644 (file)
@@ -23,14 +23,6 @@ else
        lose_these_too="${cygnus_files} ${lose_these_too}"
 fi
 
-d30v_files="d30v-dis.c d30v-opc.c"
-
-if ( echo $* | grep keep\-d30v > /dev/null ) ; then
-       keep_these_too="${d30v_files} ${keep_these_too}"
-else
-       lose_these_too="${d30v_files} ${lose_these_too}"
-fi
-
 tic80_files="tic80-opc.c tic80-dis.c"
 
 if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
@@ -47,14 +39,6 @@ else
        lose_these_too="${sky_files} ${lose_these_too}"
 fi
 
-r5900_files="vu0.h"
-
-if ( echo $* | grep keep\-r5900 > /dev/null ) ; then
-       keep_these_too="${r5900_files} ${keep_these_too}"
-else
-       lose_these_too="${r5900_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
@@ -85,15 +69,25 @@ configure.bat
 configure.in
 d10v-dis.c
 d10v-opc.c
+d30v-dis.c
+d30v-opc.c
 dep-in.sed
 dis-buf.c
 disassemble.c
+fr30-asm.c
+fr30-dis.c
+fr30-opc.c
+fr30-opc.h
 h8300-dis.c
 h8500-dis.c
 h8500-opc.h
 hppa-dis.c
 i386-dis.c
 i960-dis.c
+i960c-asm.c
+i960c-dis.c
+i960c-opc.c
+i960c-opc.h
 m32r-asm.c
 m32r-dis.c
 m32r-opc.c
@@ -123,6 +117,7 @@ sparc-opc.c
 stamp-h.in
 sysdep.h
 tic30-dis.c
+vax-dis.c
 w65-dis.c
 w65-opc.h
 v850-opc.c
@@ -134,6 +129,23 @@ z8kgen.c
 Things-to-lose:
 
 Do-last:
+never_files="Makefile.am Makefile.in"
+for i in $never_files ; do
+        if test ! -d $i && (grep sanitize-cygnus-never $i > /dev/null) ; then
+                if [ -n "${verbose}" ] ; then
+                        echo Removing traces of \"cygnus-never\" from $i...
+                fi
+                cp $i new
+                sed '/start\-sanitize\-cygnus-never/,/end\-sanitize\-cygnus-never/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
 
 cygnus_files="ChangeLog Makefile.am Makefile.in configure.in configure"
 if ( echo $* | grep keep\-cygnus > /dev/null ) ; then
@@ -163,7 +175,7 @@ else
        done
 fi
 
-am33_files="ChangeLog m10300-opc.c"
+am33_files="ChangeLog m10300-opc.c m10300-dis.c"
 if ( echo $* | grep keep\-am33 > /dev/null ) ; then
        for i in $am33_files ; do
                if test ! -d $i && (grep sanitize-am33 $i > /dev/null) ; then
@@ -191,33 +203,6 @@ else
        done
 fi
 
-d30v_files="ChangeLog Makefile.in Makefile.am configure.in configure disassemble.c"
-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 d30v stuff in $i
-                       fi
-               fi
-       done
-else
-       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
 
 v850e_files="ChangeLog Makefile.in Makefile.am configure.in configure disassemble.c v850-opc.c v850-dis.c"
 if ( echo $* | grep keep\-v850e > /dev/null ) ; then
@@ -304,23 +289,51 @@ else
        done
 fi
 
-vr5400_files="ChangeLog mips-opc.c mips-dis.c"
-if ( echo $* | grep keep\-vr5400 > /dev/null ) ; then
-       for i in $vr5400_files ; do
-               if test ! -d $i && (grep sanitize-vr5400 $i > /dev/null) ; then
+vr4xxx_files="ChangeLog mips-opc.c mips-dis.c"
+if ( echo $* | grep keep\-vr4xxx > /dev/null ) ; then
+       for i in $vr4xxx_files ; do
+               if test ! -d $i && (grep sanitize-vr4xxx $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Keeping vr4xxx stuff in $i
+                       fi
+               fi
+       done
+else
+       for i in $vr4xxx_files ; do
+               if test ! -d $i && (grep sanitize-vr4xxx $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Removing traces of \"vr4xxx\" from $i...
+                       fi
+                       cp $i new
+                       sed '/start\-sanitize\-vr4xxx/,/end-\sanitize\-vr4xxx/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
+
+cygnus_files="ChangeLog mips-opc.c mips-dis.c"
+if ( echo $* | grep keep\-cygnus > /dev/null ) ; then
+       for i in $cygnus_files ; do
+               if test ! -d $i && (grep sanitize-cygnus $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Keeping vr5400 stuff in $i
+                               echo Keeping cygnus stuff in $i
                        fi
                fi
        done
 else
-       for i in $vr5400_files ; do
-               if test ! -d $i && (grep sanitize-vr5400 $i > /dev/null) ; then
+       for i in $cygnus_files ; do
+               if test ! -d $i && (grep sanitize-cygnus $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Removing traces of \"vr5400\" from $i...
+                               echo Removing traces of \"cygnus\" from $i...
                        fi
                        cp $i new
-                       sed '/start\-sanitize\-vr5400/,/end-\sanitize\-vr5400/d' < $i > new
+                       sed '/start\-sanitize\-cygnus/,/end-\sanitize\-cygnus/d' < $i > new
                        if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
                                if [ -n "${verbose}" ] ; then
                                        echo Caching $i in .Recover...
@@ -502,10 +515,50 @@ else
        done
 fi
 
-for i in * ; do
-       if test ! -d $i && (grep sanitize $i > /dev/null) ; then
-               echo '***' Some mentions of Sanitize are still left in $i! 1>&2
-       fi
+nortel_ppc750_files="ChangeLog ppc-opc.c"
+if ( echo $* | grep keep\-nortel-ppc750 > /dev/null ) ; then
+       for i in $nortel_ppc750_files ; do
+               if test -f $i && (grep sanitize-nortel-ppc750 $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Keeping nortel-ppc750 stuff in $i
+                       fi
+               fi
+       done
+else
+       for i in $nortel_ppc750_files ; do
+               if test -f $i && (grep sanitize-nortel-ppc750 $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Removing traces of \"nortel-ppc750\" from $i...
+                       fi
+                       cp $i new
+                       # The PIPE sanitization will be much cleaner with redact.
+                       sed -e '/start\-sanitize\-nortel-ppc750/,/end\-sanitize\-nortel-ppc750/d' \
+                               -e 's/, PIPE_[A-Z]*//g' < $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
+
+for i in *; do
+  if test ! -d $i && (grep sanitize $i > /dev/null) ; then
+    echo '***' Some mentions of Sanitize are still left in opcodes/$i! 1>&2
+  fi
+done
+
+for lost in .. $lose_these_too; do
+  if test $lost != ..; then
+    for i in Makefile.am Makefile.in configure.in configure; do
+      if fgrep $lost $i >/dev/null 2>&1; then
+        echo '***' File $lost was sanitized out but is still mentioned in opcodes/$i 1>&2
+      fi
+    done
+  fi
 done
 
 # This must come after all other sanitizations.  Re-sanitize the .pot
This page took 0.029658 seconds and 4 git commands to generate.