done
fi
-cygnus_files="tc-mips.c tc-hppa.c tc-mn10300.c"
+cygnus_files="tc-mips.c tc-hppa.c tc-mn10300.c tc-m32r.c tc-m32r.h"
if ( echo $* | grep keep\-cygnus > /dev/null ) ; then
for i in $cygnus_files ; do
if test ! -d $i && (grep sanitize-cygnus $i > /dev/null) ; then
done
fi
-m32rx_files="tc-m32r.c tc-m32r.h"
-if ( echo $* | grep keep\-m32rx > /dev/null ) ; then
- for i in $m32rx_files ; do
- if test ! -d $i && (grep sanitize\-m32rx $i > /dev/null) ; then
- if [ -n "${verbose}" ] ; then
- echo Keeping m32rx stuff in $i
- fi
- fi
- done
-else
- for i in $m32rx_files ; do
- if test -r $i && (grep sanitize\-m32rx $i > /dev/null) ; then
- if [ -n "${verbose}" ] ; then
- echo Removing traces of \"m32rx\" from $i...
- fi
- cp $i new
- sed '/start\-sanitize\-m32rx/,/end\-sanitize\-m32rx/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
-if ( echo $* | grep keep\-phase2\-m32rx > /dev/null ) ; then
- for i in $m32rx_files ; do
- if test ! -d $i && (grep sanitize\-phase2\-m32rx $i > /dev/null) ; then
- if [ -n "${verbose}" ] ; then
- echo Keeping m32rx stuff in $i
- fi
- fi
- done
-else
- for i in $m32rx_files ; do
- if test -r $i && (grep sanitize\-phase2\-m32rx $i > /dev/null) ; then
- if [ -n "${verbose}" ] ; then
- echo Removing traces of \"m32rx\" from $i...
- fi
- cp $i new
- sed '/start\-sanitize\-phase2\-m32rx/,/end\-sanitize\-phase2\-m32rx/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
-
vr4xxx_files="tc-mips.c"
if ( echo $* | grep keep\-vr4xxx > /dev/null ) ; then
for i in $vr4xxx_files ; do
Do-last:
-m32rx_files="c-m32r.texi as.texinfo"
-if ( echo $* | grep keep\-m32rx > /dev/null ) ; then
- for i in $m32rx_files ; do
- if test ! -d $i && (grep sanitize-m32rx $i > /dev/null) ; then
+cygnus_files="c-m32r.texi as.texinfo"
+if ( echo $* | grep keep\-cygnus > /dev/null ) ; then
+ for i in $cygnus_files ; do
+ if test ! -d $i && (grep sanitize-cygnus $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
- echo Keeping m32rx stuff in $i
+ echo Keeping cygnus stuff in $i
fi
fi
done
else
- for i in $m32rx_files ; do
- if test ! -d $i && (grep sanitize-m32rx $i > /dev/null) ; then
+ for i in $cygnus_files ; do
+ if test ! -d $i && (grep sanitize-cygnus $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
- echo Removing traces of \"m32rx\" from $i...
+ echo Removing traces of \"cygnus\" from $i...
fi
cp $i new
- sed '/start\-sanitize\-m32rx/,/end-\sanitize\-m32rx/d' < $i > new
+ sed '/start\-sanitize\-cygnus/,/end-\sanitize\-cygnus/d' < $i > new
if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
if [ -n "${verbose}" ] ; then
echo Caching $i in .Recover...
@chapter M32R Dependent Features
@end ifclear
-@c start-sanitize-m32rx
+@c start-sanitize-cygnus
@cindex M32R support
@menu
@samp{cmp r1, r2 || addx r3, r4} (Both write to the condition bit)
@end table
-@c end-sanitize-m32rx
+@c end-sanitize-cygnus
done
fi
-m32rx_files="ChangeLog"
-if ( echo $* | grep keep\-m32rx > /dev/null ) ; then
- for i in $m32rx_files ; do
- if test ! -d $i && (grep sanitize-m32rx $i > /dev/null) ; then
- if [ -n "${verbose}" ] ; then
- echo Keeping m32rx stuff in $i
- fi
- fi
- done
-else
- for i in $m32rx_files ; do
- if test ! -d $i && (grep sanitize-m32rx $i > /dev/null) ; then
- if [ -n "${verbose}" ] ; then
- echo Removing traces of \"m32rx\" from $i...
- fi
- cp $i new
- sed '/start\-sanitize\-m32rx/,/end-\sanitize\-m32rx/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
-
for i in * ; do
if test ! -d $i && (grep sanitize $i > /dev/null) ; then
echo '***' Some mentions of Sanitize are still left in $i! 1>&2