From: Steve Chamberlain Date: Fri, 25 Nov 1994 06:15:19 +0000 (+0000) Subject: remove sh3 stuff. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a4d44f7ac90bb40b8c6c9cba88d49061356e60bf;p=binutils-gdb.git remove sh3 stuff. --- diff --git a/opcodes/.Sanitize b/opcodes/.Sanitize index 9600959f6a5..13d2d8f93a8 100644 --- a/opcodes/.Sanitize +++ b/opcodes/.Sanitize @@ -96,6 +96,29 @@ else done fi + +sh3_files="ChangeLog sh3-opc.h" +if ( echo $* | grep keep\-sh3 > /dev/null ) ; then + if [ -n "${verbose}" ] ; then + echo Keeping sh3 stuff in $sh3_files. + fi +else + if [ -n "${verbose}" ]; then + echo -n Cleaning sh3 in `pwd`: + fi + for f in $sh3_files ; do + if [ -n "${verbose}" ] ; then + echo -n " " $f + fi + sed -e '/start\-sanitize\-sh3/,/end\-sanitize\-sh3/d' -e '/ xl /d' < $f > new + if [ -n "${safe}" ] ; then + mv $f .Recover + fi + mv new $f + done +fi + + rce_files="configure.in" if ( echo $* | grep keep\-rce > /dev/null ) ; then for i in $rce_files ; do @@ -130,4 +153,5 @@ for i in * ; do fi done + # End of file.