From e26e4fbc0b937e5a10dc40431439b6067be639d6 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Wed, 27 Jul 1994 00:10:18 +0000 Subject: [PATCH] i960xl sanitization; keep some more ns32k related files --- bfd/.Sanitize | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/bfd/.Sanitize b/bfd/.Sanitize index d9ca14b342..156f251f62 100644 --- a/bfd/.Sanitize +++ b/bfd/.Sanitize @@ -42,6 +42,7 @@ aix386-core.c aout-adobe.c aout-encap.c aout-ns32k.c +aout-ns32k.h aout-target.h aout0.c aout32.c @@ -95,6 +96,7 @@ cpu-i960.c cpu-m68k.c cpu-m88k.c cpu-mips.c +cpu-ns32k.c cpu-powerpc.c cpu-rs6000.c cpu-sh.c @@ -169,6 +171,7 @@ makefile.dos mipsbsd.c newsos3.c netbsd386.c +netbsd532.c nlm-target.h nlm.c nlm32-alpha.c @@ -226,4 +229,25 @@ else chmod a+x config.bfd fi +i960xl_files="ChangeLog archures.c bfd-in2.h cpu-i960.c coffcode.h" +if ( echo $* | grep keep\-i960xl > /dev/null ) ; then + if [ -n "${verbose}" ] ; then + echo Keeping i960xl stuff in $i960xl_files. + fi +else + if [ -n "${verbose}" ]; then + echo -n Cleaning i960xl in `pwd`: + fi + for f in $i960xl_files ; do + if [ -n "${verbose}" ] ; then + echo -n " " $f + fi + sed -e '/start\-sanitize\-i960xl/,/end\-sanitize\-i960xl/d' < $f > new + if [ -n "${safe}" ] ; then + mv $f .Recover + fi + mv new $f + done +fi + # End of file.