aboutsummaryrefslogtreecommitdiff
path: root/bfd/.Sanitize
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1995-10-27 16:45:28 +0000
committerStu Grossman <grossman@cygnus>1995-10-27 16:45:28 +0000
commitd6d44ef984d15d089277de11f176ce0775cabc31 (patch)
tree7ede246d463c441d2475c14c9025f2275e6e6658 /bfd/.Sanitize
parent2f9bfdfa15f1074828d547b27aed4445a83003d9 (diff)
downloadgdb-d6d44ef984d15d089277de11f176ce0775cabc31.zip
gdb-d6d44ef984d15d089277de11f176ce0775cabc31.tar.gz
gdb-d6d44ef984d15d089277de11f176ce0775cabc31.tar.bz2
* config.bfd: Add config stuff for mips*-*-magic* to set
targ_defvec to ecoff_big_vec.
Diffstat (limited to 'bfd/.Sanitize')
-rw-r--r--bfd/.Sanitize28
1 files changed, 28 insertions, 0 deletions
diff --git a/bfd/.Sanitize b/bfd/.Sanitize
index 1cc827e..04e1528 100644
--- a/bfd/.Sanitize
+++ b/bfd/.Sanitize
@@ -322,6 +322,34 @@ else
done
fi
+gm_files="ChangeLog ChangeLog.2 config.bfd"
+if ( echo $* | grep keep\-gm > /dev/null ) ; then
+ for i in $gm_files ; do
+ if test ! -d $i && (grep sanitize-gm $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping gm stuff in $i
+ fi
+ fi
+ done
+else
+ for i in $gm_files ; do
+ if test ! -d $i && (grep sanitize-gm $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"gm\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-gm/,/end-\sanitize\-gm/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