Do-first:
-d30v_files="d30velf.sh d30v_o.sh d30v_e.sh"
-
-if ( echo $* | grep keep\-d30v > /dev/null ) ; then
- keep_these_too="${d30v_files} ${keep_these_too}"
-else
- lose_these_too="${d30v_files} ${lose_these_too}"
-fi
-
tic80_files="tic80coff.sh"
-
if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
keep_these_too="${tic80_files} ${keep_these_too}"
else
lose_these_too="${tic80_files} ${lose_these_too}"
fi
+r5900_files="elf32l5900.sh"
+if ( echo $* | grep keep\-r5900 > /dev/null ) ; then
+ keep_these_too="${r5900_files} ${keep_these_too}"
+else
+ lose_these_too="${r5900_files} ${lose_these_too}"
+fi
+
+beos_files="i386beos.sh"
+if ( echo $* | grep keep\-beos > /dev/null ) ; then
+ keep_these_too="${beos_files} ${keep_these_too}"
+else
+ lose_these_too="${beos_files} ${lose_these_too}"
+fi
+
# All files listed between the "Things-to-keep:" line and the
# "Do-last:" line will be kept. All other files will be removed.
# Directories listed in this section will have their own Sanitize
aixrs6.sh
alpha.sh
arcelf.sh
+armelf.sh
armaoutb.sh
armaoutl.sh
armcoff.sh
armpe.sh
coff_sparc.sh
d10velf.sh
+d30v_e.sh
+d30v_o.sh
+d30velf.sh
delta68.sh
ebmon29k.sh
elf32_sparc.sh
+elf32b4300.sh
elf32bmip.sh
elf32bsmip.sh
elf32ebmip.sh
elf32elmip.sh
+elf32l4300.sh
elf32lmip.sh
elf32lppc.sh
elf32lsmip.sh
elf32ppc.sh
-elf32b4300.sh
-elf32l4300.sh
-elf64alpha.sh
elf64_sparc.sh
+elf64alpha.sh
elf_i386.sh
+elf32fr30.sh
gld960.sh
gld960coff.sh
go32.sh
st2000.sh
sun3.sh
sun4.sh
+tic30aout.sh
+tic30coff.sh
v850.sh
vanilla.sh
vax.sh
Do-last:
-v850e_files="v850.sh"
-
-if ( echo $* | grep keep\-v850e > /dev/null ) ; then
- for i in $v850e_files ; do
- if test ! -d $i && (grep sanitize-v850e $i > /dev/null) ; then
- if [ -n "${verbose}" ] ; then
- echo Keeping v850e stuff in $i
- fi
- fi
- done
-else
- for i in $v850e_files ; do
- if test ! -d $i && (grep sanitize-v850e $i > /dev/null) ; then
- if [ -n "${verbose}" ] ; then
- echo Removing traces of \"v850e\" from $i...
- fi
- cp $i new
- sed '/start\-sanitize\-v850e/,/end-\sanitize\-v850e/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
-
+# eof