From: Fred Fish Date: Sat, 28 Dec 1996 05:26:04 +0000 (+0000) Subject: (Laying some groundwork (that will be incrementally fleshed out) for X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=33aeaf0000756a14f19a4dc2c7eaac040b364852;p=binutils-gdb.git (Laying some groundwork (that will be incrementally fleshed out) for TIc80) * dis-asm.h (print_insn_tic80): Declare. --- diff --git a/include/.Sanitize b/include/.Sanitize index d6be81f6d57..0894d1794b3 100644 --- a/include/.Sanitize +++ b/include/.Sanitize @@ -172,6 +172,34 @@ else done fi +tic80_files="ChangeLog dis-asm.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 $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