From 3f1bb6f2d61645ddbec948a16e1499241e2d6968 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Fri, 26 Jun 1998 16:50:13 +0000 Subject: [PATCH] * mn10300.h: New file. --- include/elf/.Sanitize | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/include/elf/.Sanitize b/include/elf/.Sanitize index a0845bce1f5..9f8e9e5b0b4 100644 --- a/include/elf/.Sanitize +++ b/include/elf/.Sanitize @@ -34,6 +34,7 @@ hppa.h internal.h m32r.h mips.h +mn10300.h ppc.h sparc.h v850.h @@ -42,6 +43,34 @@ Things-to-lose: Do-last: +am33_files="mn10300.h" +if ( echo $* | grep keep\-am33 > /dev/null ) ; then + for i in $am33_files ; do + if test ! -d $i && (grep sanitize-am33 $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping am33 stuff in $i + fi + fi + done +else + for i in $am33_files ; do + if test ! -d $i && (grep sanitize-am33 $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"am33\" from $i... + fi + cp $i new + sed '/start\-sanitize\-am33/,/end-\sanitize\-am33/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 + d30v_files="ChangeLog common.h" if ( echo $* | grep keep\-d30v > /dev/null ) ; then for i in $d30v_files ; do -- 2.30.2