aboutsummaryrefslogtreecommitdiff
path: root/gas/.Sanitize
diff options
context:
space:
mode:
authorMartin Hunt <hunt@redhat.com>1996-07-18 00:39:03 +0000
committerMartin Hunt <hunt@redhat.com>1996-07-18 00:39:03 +0000
commit7be9a3121d93c07f7a75d7c78f49a4bf6f2af20b (patch)
tree8b48b3ca8919d78ff1c883abf8696c51c6f02600 /gas/.Sanitize
parent2154656e3d46d0305bcb9441d8c58d25e8660687 (diff)
downloadgdb-7be9a3121d93c07f7a75d7c78f49a4bf6f2af20b.zip
gdb-7be9a3121d93c07f7a75d7c78f49a4bf6f2af20b.tar.gz
gdb-7be9a3121d93c07f7a75d7c78f49a4bf6f2af20b.tar.bz2
start-sanitize-d10v
Wed Jul 17 14:25:13 1996 Martin M. Hunt <hunt@pizza.cygnus.com> * config/tc-d10v.c: New file. * config/tc-d10v.h: New file. * configure (d10v-*-elf): New target. * configure.in (d10v-*-elf): New target. end-sanitize-d10v
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 77cf3d0..8c8a156 100644
--- a/gas/.Sanitize
+++ b/gas/.Sanitize
@@ -160,6 +160,34 @@ else
fi
+d10v_files="ChangeLog configure.in configure Makefile.in"
+if ( echo $* | grep keep\-d10v > /dev/null ) ; then
+ for i in $d10v_files ; do
+ if test ! -d $i && (grep sanitize-d10v $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping d10v stuff in $i
+ fi
+ fi
+ done
+else
+ for i in $d10v_files ; do
+ if test ! -d $i && (grep sanitize-d10v $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"d10v\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-d10v/,/end-\sanitize\-d10v/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