]> Git Repo - binutils.git/blobdiff - bfd/.Sanitize
* mpw-config.in: Add sh and i386 configs, remove sparc config.
[binutils.git] / bfd / .Sanitize
index 24eba61075a683a135d674201be137ba48f01adf..402043308b7328cf5fc164b4dcc960901e4d7749 100644 (file)
 
 Do-first:
 
-mpw_files="mpw-config.in mpw-make.in ChangeLog.mpw"
+rce_files="cpu-rce.c aout-rce.c"
 
-if ( echo $* | grep keep\-mpw > /dev/null ) ; then
-       keep_these_too="${mpw_files} ${keep_these_too}"
+if ( echo $* | grep keep\-rce > /dev/null ) ; then
+       keep_these_too="${rce_files} ${keep_these_too}"
 else
-       lose_these_too="${mpw_files} ${lose_these_too}"
+       lose_these_too="${rce_files} ${lose_these_too}"
 fi
 
-r16_files="cpu-r16.c aout-r16.c"
+arc_files="cpu-arc.c elf32-arc.c"
 
-if ( echo $* | grep keep\-r16 > /dev/null ) ; then
-       keep_these_too="${r16_files} ${keep_these_too}"
+if ( echo $* | grep keep\-arc > /dev/null ) ; then
+       keep_these_too="${arc_files} ${keep_these_too}"
 else
-       lose_these_too="${r16_files} ${lose_these_too}"
+       lose_these_too="${arc_files} ${lose_these_too}"
 fi
 
 # All files listed between the "Things-to-keep:" line and the
@@ -48,6 +48,7 @@ TODO
 VERSION
 aix386-core.c
 aout-adobe.c
+aout-arm.c
 aout-encap.c
 aout-ns32k.c
 aout-target.h
@@ -69,6 +70,7 @@ cf-m68klynx.c
 cf-sparclynx.c
 cisco-core.c
 coff-a29k.c
+coff-arm.c
 coff-alpha.c
 coff-apollo.c
 coff-go32.c
@@ -84,6 +86,7 @@ coff-sh.c
 coff-sparc.c
 coff-u68k.c
 coff-we32k.c
+coff-w65.c
 coff-z8k.c
 coffcode.h
 coffgen.c
@@ -113,6 +116,7 @@ cpu-sh.c
 cpu-sparc.c
 cpu-vax.c
 cpu-we32k.c
+cpu-w65.c
 cpu-z8k.c
 demo64.c
 dep-in.sed
@@ -157,6 +161,7 @@ i386linux.c
 i386netbsd.c
 i386lynx.c
 i386mach3.c
+i386msdos.c
 i386os9k.c
 ieee.c
 init.c
@@ -180,6 +185,8 @@ m68knetbsd.c
 m88kmach3.c
 makefile.dos
 mipsbsd.c
+mpw-config.in
+mpw-make.in
 newsos3.c
 netbsd.h
 nlm-target.h
@@ -197,6 +204,10 @@ oasys.c
 opncls.c
 osf-core.c
 pc532-mach.c
+pe-arm.c
+pei-arm.c
+pe-i386.c
+pei-i386.c
 ptrace-core.c
 reloc.c
 reloc16.c
@@ -214,34 +225,13 @@ syms.c
 targets.c
 tekhex.c
 trad-core.c
+versados.c
 
 Things-to-lose:
 
 
 Do-last:
 
-mpwfiles="ecoffswap.h coffswap.h"
-if ( echo $* | grep keep\-mpw > /dev/null ) ; then
-       if [ -n "${verbose}" ] ; then
-               echo Keeping mpw stuff in $mpwfiles.
-       fi
-else
-       if [ -n "${verbose}" ]; then
-               echo -n Cleaning mpw in `pwd`:
-       fi
-       for f in $mpwfiles ; do
-               if [ -n "${verbose}" ] ; then
-                       echo -n " " $f
-               fi
-               sed '/start\-sanitize\-mpw/,/end\-sanitize\-mpw/d' < $f > new
-               if [ -n "${safe}" ] ; then
-                       mv $f .Recover
-               fi
-               mv new $f
-       done
-       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
@@ -263,23 +253,51 @@ else
        done
 fi
 
-r16_files = "ChangeLog archures.c config.bfd configure.in targets.c"
-if ( echo $* | grep keep\-r16 > /dev/null ) ; then
-       for i in $r16_files ; do
-               if test ! -d $i && (grep sanitize-r16 $i > /dev/null) ; then
+rce_files="ChangeLog Makefile.in archures.c bfd-in2.h config.bfd configure.in targets.c aoutx.h libaout.h"
+if ( echo $* | grep keep\-rce > /dev/null ) ; then
+       for i in $rce_files ; do
+               if test ! -d $i && (grep sanitize-rce $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Keeping rce stuff in $i
+                       fi
+               fi
+       done
+else
+       for i in $rce_files ; do
+               if test ! -d $i && (grep sanitize-rce $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Removing traces of \"rce\" from $i...
+                       fi
+                       cp $i new
+                       sed '/start\-sanitize\-rce/,/end-\sanitize\-rce/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
+
+arc_files="ChangeLog Makefile.in archures.c reloc.c targets.c config.bfd configure.in bfd-in2.h elfcode.h libbfd.h"
+if ( echo $* | grep keep\-arc > /dev/null ) ; then
+       for i in $arc_files ; do
+               if test ! -d $i && (grep sanitize-arc $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Keeping r16 stuff in $i
+                               echo Keeping arc stuff in $i
                        fi
                fi
        done
 else
-       for i in $r16_files ; do
-               if test ! -d $i && (grep sanitize-r16 $i > /dev/null) ; then
+       for i in $arc_files ; do
+               if test ! -d $i && (grep sanitize-arc $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Removing traces of \"r16\" from $i...
+                               echo Removing traces of \"arc\" from $i...
                        fi
                        cp $i new
-                       sed '/start\-sanitize\-r16/,/end-\sanitize\-r16/d' < $i > new
+                       sed '/start\-sanitize\-arc/,/end-\sanitize\-arc/d' < $i > new
                        if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
                                if [ -n "${verbose}" ] ; then
                                        echo Caching $i in .Recover...
This page took 0.030493 seconds and 4 git commands to generate.