aboutsummaryrefslogtreecommitdiff
path: root/bfd/.Sanitize
diff options
context:
space:
mode:
authorFelix Lee <flee@cygnus>1998-12-18 16:43:49 +0000
committerFelix Lee <flee@cygnus>1998-12-18 16:43:49 +0000
commit1e012f703eebd9ea20b3ed8ab659574ab2c9a15b (patch)
tree9cc2e7a1baeed5907bc17113fe837c6ea20c1258 /bfd/.Sanitize
parentc548312b72e10efb17580b099c388ee3e5c17154 (diff)
downloadgdb-1e012f703eebd9ea20b3ed8ab659574ab2c9a15b.zip
gdb-1e012f703eebd9ea20b3ed8ab659574ab2c9a15b.tar.gz
gdb-1e012f703eebd9ea20b3ed8ab659574ab2c9a15b.tar.bz2
sanitization fix.
Diffstat (limited to 'bfd/.Sanitize')
-rw-r--r--bfd/.Sanitize18
1 files changed, 18 insertions, 0 deletions
diff --git a/bfd/.Sanitize b/bfd/.Sanitize
index cd40980..73213d4 100644
--- a/bfd/.Sanitize
+++ b/bfd/.Sanitize
@@ -299,6 +299,24 @@ Things-to-lose:
Do-last:
+never_files="ChangeLog"
+for i in $never_files ; do
+ if test ! -d $i && (grep sanitize-cygnus-never $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"cygnus-never\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-cygnus-never/,/end\-sanitize\-cygnus-never/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
+
am33_files="ChangeLog archures.c bfd-in2.h cpu-m10300.c elf-m10300.c"
if ( echo $* | grep keep\-am33 > /dev/null ) ; then
for i in $am33_files ; do