From 53bcc60c44310b35953dedb58484722f4cda7414 Mon Sep 17 00:00:00 2001 From: "J.T. Conklin" Date: Wed, 19 Mar 1997 14:27:26 +0000 Subject: [PATCH] * m68k.h (mcfmac, mcfdiv): New macros. --- include/opcode/.Sanitize | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/include/opcode/.Sanitize b/include/opcode/.Sanitize index 2af2e1df147..630190836c6 100644 --- a/include/opcode/.Sanitize +++ b/include/opcode/.Sanitize @@ -226,6 +226,34 @@ else done fi +coldfire_files="ChangeLog m68k.h" +if ( echo $* | grep keep\-coldfire > /dev/null ) ; then + for i in $coldfire_files ; do + if test ! -d $i && (grep sanitize-coldfire $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping coldfire stuff in $i + fi + fi + done +else + for i in $coldfire_files ; do + if test ! -d $i && (grep sanitize-coldfire $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"coldfire\" from $i... + fi + cp $i new + sed '/start\-sanitize\-coldfire/,/end-\sanitize\-coldfire/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 -- 2.30.2