diff options
author | Jeff Law <law@redhat.com> | 1998-01-28 04:45:04 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1998-01-28 04:45:04 +0000 |
commit | 29410c45ae1c3f55ec6a3914bf5259ccc15493b2 (patch) | |
tree | b55c0722d20c51b99685167d2949b509e60bb93e /bfd/.Sanitize | |
parent | 4411d96450537b3496fb899ab6603ed37944d916 (diff) | |
download | gdb-29410c45ae1c3f55ec6a3914bf5259ccc15493b2.zip gdb-29410c45ae1c3f55ec6a3914bf5259ccc15493b2.tar.gz gdb-29410c45ae1c3f55ec6a3914bf5259ccc15493b2.tar.bz2 |
* archures.c (bfd_mach_mips*): Add definitions for various MIPS
processors.
* cpu-mips.c (arch_info_struct): Add mips variants.
* bfd-in2.h: Rebuilt.
Diffstat (limited to 'bfd/.Sanitize')
-rw-r--r-- | bfd/.Sanitize | 58 |
1 files changed, 57 insertions, 1 deletions
diff --git a/bfd/.Sanitize b/bfd/.Sanitize index 345328d..fb02228 100644 --- a/bfd/.Sanitize +++ b/bfd/.Sanitize @@ -354,7 +354,7 @@ else done fi -r5900_files="ChangeLog config.bfd" +r5900_files="ChangeLog config.bfd archures.c bfd-in2.h cpu-mips.c" if ( echo $* | grep keep\-r5900 > /dev/null ) ; then for i in $r5900_files ; do if test ! -d $i && (grep sanitize-r5900 $i > /dev/null) ; then @@ -382,6 +382,62 @@ else done fi +tx19_files="archures.c bfd-in2.h cpu-mips.c" +if ( echo $* | grep keep\-tx19 > /dev/null ) ; then + for i in $tx19_files ; do + if test ! -d $i && (grep sanitize-tx19 $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping tx19 stuff in $i + fi + fi + done +else + for i in $tx19_files ; do + if test ! -d $i && (grep sanitize-tx19 $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"tx19\" from $i... + fi + cp $i new + sed '/start\-sanitize\-tx19/,/end-\sanitize\-tx19/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 + +tx49_files="archures.c bfd-in2.h cpu-mips.c" +if ( echo $* | grep keep\-tx49 > /dev/null ) ; then + for i in $tx49_files ; do + if test ! -d $i && (grep sanitize-tx49 $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping tx49 stuff in $i + fi + fi + done +else + for i in $tx49_files ; do + if test ! -d $i && (grep sanitize-tx49 $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"tx49\" from $i... + fi + cp $i new + sed '/start\-sanitize\-tx49/,/end-\sanitize\-tx49/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 + sh4_files="ChangeLog config.bfd archures.c bfd-in2.h cpu-sh.c" if ( echo $* | grep keep\-sh4 > /dev/null ) ; then for i in $sh4_files ; do |