aboutsummaryrefslogtreecommitdiff
path: root/bfd/.Sanitize
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>1996-01-20 17:05:56 +0000
committerDavid Edelsohn <dje.gcc@gmail.com>1996-01-20 17:05:56 +0000
commit065822fc3d34d2997ef16e13a45b4fa0e38dbf19 (patch)
tree38bdf34dd5e070abcbcca03a510c31a34a23c8fc /bfd/.Sanitize
parent6b3eb07e981f1e2487938531f812d84842b398fb (diff)
downloadgdb-065822fc3d34d2997ef16e13a45b4fa0e38dbf19.zip
gdb-065822fc3d34d2997ef16e13a45b4fa0e38dbf19.tar.gz
gdb-065822fc3d34d2997ef16e13a45b4fa0e38dbf19.tar.bz2
Oops. Forgot sanitization.
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 5e4ae30..9c1d043 100644
--- a/bfd/.Sanitize
+++ b/bfd/.Sanitize
@@ -356,6 +356,34 @@ else
done
fi
+v8plus_files="ChangeLog elf32-sparc.c"
+if ( echo $* | grep keep\-v8plus > /dev/null ) ; then
+ for i in $v8plus_files ; do
+ if test ! -d $i && (grep sanitize-v8plus $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping v8plus stuff in $i
+ fi
+ fi
+ done
+else
+ for i in $v8plus_files ; do
+ if test ! -d $i && (grep sanitize-v8plus $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"v8plus\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-v8plus/,/end-\sanitize\-v8plus/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