aboutsummaryrefslogtreecommitdiff
path: root/gas/.Sanitize
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>1994-11-30 02:16:54 +0000
committerDavid Edelsohn <dje.gcc@gmail.com>1994-11-30 02:16:54 +0000
commit6ea93cc98c7ecb4182c7ec5d9b7a98eff70a0621 (patch)
tree4b2d9bf0d34b07521e4408a25fdce6a51154386a /gas/.Sanitize
parent8515dbe23595e2d78e59e5456bde155d9f33fa5a (diff)
downloadbinutils-6ea93cc98c7ecb4182c7ec5d9b7a98eff70a0621.zip
binutils-6ea93cc98c7ecb4182c7ec5d9b7a98eff70a0621.tar.gz
binutils-6ea93cc98c7ecb4182c7ec5d9b7a98eff70a0621.tar.bz2
Initial ARC support.
Diffstat (limited to 'gas/.Sanitize')
-rw-r--r--gas/.Sanitize28
1 files changed, 28 insertions, 0 deletions
diff --git a/gas/.Sanitize b/gas/.Sanitize
index 3926f41..c4bf4c6 100644
--- a/gas/.Sanitize
+++ b/gas/.Sanitize
@@ -154,6 +154,34 @@ else
done
fi
+arc_files="ChangeLog configure.in configure"
+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
+
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