aboutsummaryrefslogtreecommitdiff
path: root/gas/.Sanitize
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1997-10-30 16:38:29 +0000
committerIan Lance Taylor <ian@airs.com>1997-10-30 16:38:29 +0000
commit605ca21a04d458d2284105b323d446285837cf0a (patch)
tree4e58d2e5f0d23e7236ed6443ce627f44e1ea4653 /gas/.Sanitize
parent42cf65557eb2c1a3b94a1e3b6e12f42dee5cf3b6 (diff)
downloadgdb-605ca21a04d458d2284105b323d446285837cf0a.zip
gdb-605ca21a04d458d2284105b323d446285837cf0a.tar.gz
gdb-605ca21a04d458d2284105b323d446285837cf0a.tar.bz2
add tx49 sanitization
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 26e0944..7ba54d4 100644
--- a/gas/.Sanitize
+++ b/gas/.Sanitize
@@ -203,6 +203,34 @@ else
done
fi
+tx49_files="ChangeLog"
+if ( echo $* | grep keep\-tx49 > /dev/null ) ; then
+ for i in $tx49_files ; do
+ if test ! -d $i && (grep sanitize-tx49 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping tx49 stuff in $i
+ fi
+ fi
+ done
+else
+ for i in $tx49_files ; do
+ if test ! -d $i && (grep sanitize-tx49 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"tx49\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-tx49/,/end-\sanitize\-tx49/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
+
tic80_files="ChangeLog configure.in configure"
if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
for i in $tic80_files ; do