aboutsummaryrefslogtreecommitdiff
path: root/gas/config/.Sanitize
diff options
context:
space:
mode:
authorGavin Romig-Koch <gavin@redhat.com>1998-06-29 13:38:34 +0000
committerGavin Romig-Koch <gavin@redhat.com>1998-06-29 13:38:34 +0000
commitb08a983c45bae6db79f9236f8320d101bbb17c0e (patch)
tree4e0e509a2eb2bce1625d9cd8cfed46e7a34c04f8 /gas/config/.Sanitize
parent46eb9e5a57033d36030dbb855a1f10ee63cc7f2c (diff)
downloadfsf-binutils-gdb-b08a983c45bae6db79f9236f8320d101bbb17c0e.zip
fsf-binutils-gdb-b08a983c45bae6db79f9236f8320d101bbb17c0e.tar.gz
fsf-binutils-gdb-b08a983c45bae6db79f9236f8320d101bbb17c0e.tar.bz2
* 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.
Diffstat (limited to 'gas/config/.Sanitize')
-rw-r--r--gas/config/.Sanitize28
1 files changed, 28 insertions, 0 deletions
diff --git a/gas/config/.Sanitize b/gas/config/.Sanitize
index 66927aa..b6fb21e 100644
--- a/gas/config/.Sanitize
+++ b/gas/config/.Sanitize
@@ -466,6 +466,34 @@ else
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