(mips_fix_4011_branch_bug): New.
(append_insn): Watch for and handle branchs with labels.
(mips_no_prev_insn): Initialize prev_insn_labels.
(md_longopts,md_parse_option): Add {no-}fix-4011-branch-bug option.
done
fi
+branchbug4011_files="ChangeLog"
+if ( echo $* | grep keep\-branchbug4011 > /dev/null ) ; then
+ for i in $branchbug4011_files ; do
+ if test ! -d $i && (grep sanitize-branchbug4011 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping branchbug4011 stuff in $i
+ fi
+ fi
+ done
+else
+ for i in $branchbug4011_files ; do
+ if test -r $i && (grep sanitize-branchbug4011 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"branchbug4011\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-branchbug4011/,/end\-sanitize\-branchbug4011/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
+start-sanitize-branchbug4011
+Mon Jun 29 09:36:27 1998 Gavin Koch <gavin@cygnus.com>
+
+ * config/tc-mips.c (prev_insn_labels): New.
+ (mips_fix_4011_branch_bug): New.
+ (append_insn): Watch for and handle branchs with labels.
+ (mips_no_prev_insn): Initialize prev_insn_labels.
+ (md_longopts,md_parse_option): Add {no-}fix-4011-branch-bug option.
+
+end-sanitize-branchbug4011
Fri Jun 26 11:21:11 1998 Jeffrey A Law (law@cygnus.com)
* config/tc-mn10300.c (set_arch_mach): New function.
done
fi
+branchbug4011_files="tc-mips.c"
+if ( echo $* | grep keep\-branchbug4011 > /dev/null ) ; then
+ for i in $branchbug4011_files ; do
+ if test ! -d $i && (grep sanitize-branchbug4011 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping branchbug4011 stuff in $i
+ fi
+ fi
+ done
+else
+ for i in $branchbug4011_files ; do
+ if test -r $i && (grep sanitize-branchbug4011 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"branchbug4011\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-branchbug4011/,/end\-sanitize\-branchbug4011/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