diff options
author | Andrew Cagney <cagney@redhat.com> | 1997-08-28 10:01:33 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1997-08-28 10:01:33 +0000 |
commit | f40d28bfc07c793f413cf7523a1f93385f546d95 (patch) | |
tree | e124f2065bba2614772a93a8fc340d9e736f7864 /bfd/.Sanitize | |
parent | 04258deea27682f72f7e67b10875ba448155a3df (diff) | |
download | gdb-f40d28bfc07c793f413cf7523a1f93385f546d95.zip gdb-f40d28bfc07c793f413cf7523a1f93385f546d95.tar.gz gdb-f40d28bfc07c793f413cf7523a1f93385f546d95.tar.bz2 |
Add sh3 et.al. to SH arch table.
Improve machine name parsing for v850 and SH.
Diffstat (limited to 'bfd/.Sanitize')
-rw-r--r-- | bfd/.Sanitize | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/bfd/.Sanitize b/bfd/.Sanitize index a6c4592..7522881 100644 --- a/bfd/.Sanitize +++ b/bfd/.Sanitize @@ -449,6 +449,34 @@ else 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 + if test ! -d $i && (grep sanitize-sh4 $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping sh4 stuff in $i + fi + fi + done +else + for i in $sh4_files ; do + if test ! -d $i && (grep sanitize-sh4 $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"sh4\" from $i... + fi + cp $i new + sed '/start\-sanitize\-sh4/,/end-\sanitize\-sh4/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 + tic80_files="ChangeLog Makefile.in Makefile.am archures.c bfd-in2.h config.bfd configure configure.in targets.c coffcode.h coffswap.h" if ( echo $* | grep keep\-tic80 > /dev/null ) ; then for i in $tic80_files ; do |