aboutsummaryrefslogtreecommitdiff
path: root/ld/.Sanitize
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1997-02-10 01:17:14 +0000
committerFred Fish <fnf@specifix.com>1997-02-10 01:17:14 +0000
commit11effa691a7e2c35a80deb2983076b7432a4f065 (patch)
tree77406f0d6d49acab408f37dc777cc4595db4ba5e /ld/.Sanitize
parent32dab6031296a0decf26d30400759c4575877935 (diff)
downloadgdb-11effa691a7e2c35a80deb2983076b7432a4f065.zip
gdb-11effa691a7e2c35a80deb2983076b7432a4f065.tar.gz
gdb-11effa691a7e2c35a80deb2983076b7432a4f065.tar.bz2
* emulparams/tic80coff.sh: New (dummy) file for TIc80.
* scripttempl/tic80coff.sc: New (dummy) file for TIc80. * Makefile.in (etic80coff.c): Add target and rule to build it. * configure.tgt (tic80-*-coff): Set targ_emul to tic80coff.
Diffstat (limited to 'ld/.Sanitize')
-rw-r--r--ld/.Sanitize29
1 files changed, 29 insertions, 0 deletions
diff --git a/ld/.Sanitize b/ld/.Sanitize
index 6b46075..d8ab22c 100644
--- a/ld/.Sanitize
+++ b/ld/.Sanitize
@@ -202,6 +202,35 @@ else
done
fi
+tic80_files="ChangeLog configure.tgt Makefile.in"
+
+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 $tic80_files ; 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
+
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