aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAngela Marie Thomas <angela@cygnus>1997-02-27 18:59:07 +0000
committerAngela Marie Thomas <angela@cygnus>1997-02-27 18:59:07 +0000
commit54d5e0fb229ef2d0e7bc3f15fe1e078a9d6190b7 (patch)
tree21751538317fe0baa6f5cc5f048aa8f20078260b /gas
parentb185d567f5725b40c42f2102c8932c1afbb1389d (diff)
downloadgdb-54d5e0fb229ef2d0e7bc3f15fe1e078a9d6190b7.zip
gdb-54d5e0fb229ef2d0e7bc3f15fe1e078a9d6190b7.tar.gz
gdb-54d5e0fb229ef2d0e7bc3f15fe1e078a9d6190b7.tar.bz2
fix random missing Sanitize bits
Diffstat (limited to 'gas')
-rw-r--r--gas/.Sanitize28
-rw-r--r--gas/config/.Sanitize29
2 files changed, 57 insertions, 0 deletions
diff --git a/gas/.Sanitize b/gas/.Sanitize
index 8e76fb9..944f3b0 100644
--- a/gas/.Sanitize
+++ b/gas/.Sanitize
@@ -247,6 +247,34 @@ else
done
fi
+d30v_files="ChangeLog configure configure.in"
+if ( echo $* | grep keep\-d30v > /dev/null ) ; then
+ for i in $d30v_files ; do
+ if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping d30v stuff in $i
+ fi
+ fi
+ done
+else
+ for i in $d30v_files ; do
+ if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"d30v\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-d30v/,/end-\sanitize\-d30v/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
diff --git a/gas/config/.Sanitize b/gas/config/.Sanitize
index 650a82e..8ecf818 100644
--- a/gas/config/.Sanitize
+++ b/gas/config/.Sanitize
@@ -225,5 +225,34 @@ else
done
fi
+tic80_files="obj-coff.h"
+
+if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
+ for i in $tic80_files ; do
+ if test ! -d $i && (grep sanitize-tic80 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping tic80 stuff in $i
+ fi
+ fi
+ done
+else
+ for i in * ; do
+ if test ! -d $i && (grep sanitize-tic80 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"tic80\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-tic80/,/end-\sanitize\-tic80/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
+
# End of file.