aboutsummaryrefslogtreecommitdiff
path: root/.Sanitize
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>1996-09-09 19:23:41 +0000
committerDavid Edelsohn <dje.gcc@gmail.com>1996-09-09 19:23:41 +0000
commit8863243604e60887390dd03f4355d5261a0c0604 (patch)
treeaf2a8d12276628f3d69ab00cf777823e5148dc65 /.Sanitize
parent4a9149d501d04774085e7a3eb531bf9bb25541d8 (diff)
downloadgdb-8863243604e60887390dd03f4355d5261a0c0604.zip
gdb-8863243604e60887390dd03f4355d5261a0c0604.tar.gz
gdb-8863243604e60887390dd03f4355d5261a0c0604.tar.bz2
* config.sub, configure.in: Add entries for m32r.
Diffstat (limited to '.Sanitize')
-rw-r--r--.Sanitize33
1 files changed, 33 insertions, 0 deletions
diff --git a/.Sanitize b/.Sanitize
index 7741b19..2d4354b 100644
--- a/.Sanitize
+++ b/.Sanitize
@@ -270,6 +270,39 @@ else
done
fi
+if [ -n "${verbose}" ] ; then
+ echo Processing \"m32r\"...
+fi
+
+m32r_files="config.sub configure.in ChangeLog"
+
+if ( echo $* | grep keep\-m32r > /dev/null ) ; then
+ for i in $m32r_files ; do
+ if test ! -d $i && (grep sanitize-m32r $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping m32r stuff in $i
+ fi
+ fi
+ done
+else
+ for i in * ; do
+ if test ! -d $i && (grep sanitize-m32r $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"m32r\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-m32r/,/end-\sanitize\-m32r/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
+
rce_files="config.sub"
if ( echo $* | grep keep\-rce > /dev/null ) ; then