aboutsummaryrefslogtreecommitdiff
path: root/opcodes/.Sanitize
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1997-10-28 03:44:27 +0000
committerKen Raeburn <raeburn@cygnus>1997-10-28 03:44:27 +0000
commita3066d9ac8b369e9c03c1c3f91eaa26a6a893aec (patch)
tree9cbb4820e831fa5ed15a0db3f5317a2473508e3a /opcodes/.Sanitize
parent581c03af3ea615e614a725d955a4979eeb915608 (diff)
downloadfsf-binutils-gdb-a3066d9ac8b369e9c03c1c3f91eaa26a6a893aec.zip
fsf-binutils-gdb-a3066d9ac8b369e9c03c1c3f91eaa26a6a893aec.tar.gz
fsf-binutils-gdb-a3066d9ac8b369e9c03c1c3f91eaa26a6a893aec.tar.bz2
Duh. Check in the vr5400 stuff from the directory that doesn't have
it sanitized out this time...
Diffstat (limited to 'opcodes/.Sanitize')
-rw-r--r--opcodes/.Sanitize28
1 files changed, 28 insertions, 0 deletions
diff --git a/opcodes/.Sanitize b/opcodes/.Sanitize
index fe19a1c..7238cc1 100644
--- a/opcodes/.Sanitize
+++ b/opcodes/.Sanitize
@@ -193,6 +193,34 @@ else
done
fi
+vr5400_files="ChangeLog mips-opc.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
+ if [ -n "${verbose}" ] ; then
+ echo Keeping vr5400 stuff in $i
+ fi
+ fi
+ done
+else
+ for i in $vr5400_files ; do
+ if test ! -d $i && (grep sanitize-vr5400 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"vr5400\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-vr5400/,/end-\sanitize\-vr5400/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
+
tx19_files="ChangeLog mips16-opc.c"
if ( echo $* | grep keep\-tx19 > /dev/null ) ; then
for i in $tx19_files ; do