aboutsummaryrefslogtreecommitdiff
path: root/.Sanitize
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1997-10-24 16:39:38 +0000
committerIan Lance Taylor <ian@airs.com>1997-10-24 16:39:38 +0000
commit6b29430fa376337c735b440ae2c86d09c943b651 (patch)
tree55e3d41c5413f32b30a6526f7ae42eb6395d7cee /.Sanitize
parentae295afea4270e87238da97782b6485a008f231e (diff)
downloadbinutils-6b29430fa376337c735b440ae2c86d09c943b651.zip
binutils-6b29430fa376337c735b440ae2c86d09c943b651.tar.gz
binutils-6b29430fa376337c735b440ae2c86d09c943b651.tar.bz2
sanitize for vr5400
Diffstat (limited to '.Sanitize')
-rw-r--r--.Sanitize29
1 files changed, 29 insertions, 0 deletions
diff --git a/.Sanitize b/.Sanitize
index c304e52..4f3d4ee 100644
--- a/.Sanitize
+++ b/.Sanitize
@@ -410,6 +410,35 @@ if ( echo $* | grep lose\-gdbtk > /dev/null ) ; then
mv new Makefile.in
fi
+vr5400_files="ChangeLog config.sub"
+
+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 * ; 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
+
# Do this check LAST!
for i in * ; do
if test ! -d $i && (grep sanitize $i > /dev/null) ; then