aboutsummaryrefslogtreecommitdiff
path: root/gas/.Sanitize
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1997-10-31 23:21:44 +0000
committerKen Raeburn <raeburn@cygnus>1997-10-31 23:21:44 +0000
commitaa2e0460a0f84d07ae15e12f6cdcb255ae76ff1a (patch)
treeca90a3a9f8bea97976a9374c9db954d7410e0fa2 /gas/.Sanitize
parentfcc86d82f7864c9609d2a02acb1a25074e9902ed (diff)
downloadbinutils-aa2e0460a0f84d07ae15e12f6cdcb255ae76ff1a.zip
binutils-aa2e0460a0f84d07ae15e12f6cdcb255ae76ff1a.tar.gz
binutils-aa2e0460a0f84d07ae15e12f6cdcb255ae76ff1a.tar.bz2
* config/tc-mips.c (mips_5400): New variable.
(md_begin, md_parse_option): Handle 5400 options/names. (macro_build, mips_ip): Check for 5400-specific instructions. (md_longopts, OPTION_M5400, OPTION_NO_M5400): More command-line support for 5400. * config/tc-mips.c (validate_mips_insn): New function, checks match versus mask bits, and also verifies that all bits to be output are actually specified somewhere. (md_begin): Call it for 32-bit instructions, instead of doing match/mask check here. In case of failure, print a message, but check the rest of the opcode table before exiting.
Diffstat (limited to 'gas/.Sanitize')
-rw-r--r--gas/.Sanitize28
1 files changed, 28 insertions, 0 deletions
diff --git a/gas/.Sanitize b/gas/.Sanitize
index 7ba54d4..1bf1dd5 100644
--- a/gas/.Sanitize
+++ b/gas/.Sanitize
@@ -175,6 +175,34 @@ else
done
fi
+vr5400_files="ChangeLog"
+if ( echo $* | grep keep\-vr5400 > /dev/null ) ; then
+ for i in $vr5400_files ; do
+ if test ! -d $i && (grep sanitize-vr5400 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping vr5400 stuff in $i
+ fi
+ fi
+ done
+else
+ for i in $vr5400_files ; do
+ if test ! -d $i && (grep sanitize-vr5400 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"vr5400\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-vr5400/,/end-\sanitize\-vr5400/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
+
tx19_files="ChangeLog"
if ( echo $* | grep keep\-tx19 > /dev/null ) ; then
for i in $tx19_files ; do