aboutsummaryrefslogtreecommitdiff
path: root/bfd/.Sanitize
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>1996-09-09 19:37:47 +0000
committerDavid Edelsohn <dje.gcc@gmail.com>1996-09-09 19:37:47 +0000
commit66e4c229785d41c5b2faa42fcc3de2da954bb0d4 (patch)
tree6f62b1120704e39a40ce794f63b08c623fdbeb31 /bfd/.Sanitize
parent71d7d44f19210ecfc7af04cc20308e81d8b6716d (diff)
downloadgdb-66e4c229785d41c5b2faa42fcc3de2da954bb0d4.zip
gdb-66e4c229785d41c5b2faa42fcc3de2da954bb0d4.tar.gz
gdb-66e4c229785d41c5b2faa42fcc3de2da954bb0d4.tar.bz2
* config.bfd,configure.in,configure: Add m32r support.
Diffstat (limited to 'bfd/.Sanitize')
-rw-r--r--bfd/.Sanitize28
1 files changed, 28 insertions, 0 deletions
diff --git a/bfd/.Sanitize b/bfd/.Sanitize
index 5558c7f..668f47c 100644
--- a/bfd/.Sanitize
+++ b/bfd/.Sanitize
@@ -333,6 +333,34 @@ else
done
fi
+m32r_files="ChangeLog config.bfd configure.in configure"
+if ( echo $* | grep keep\-m32r > /dev/null ) ; then
+ for i in $m32r_files ; do
+ if test ! -d $i && (grep sanitize-m32r $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping m32r stuff in $i
+ fi
+ fi
+ done
+else
+ for i in $m32r_files ; do
+ if test ! -d $i && (grep sanitize-m32r $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"m32r\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-m32r/,/end-\sanitize\-m32r/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
+
v850_files="ChangeLog ChangeLog.2 Makefile.in archures.c reloc.c targets.c config.bfd configure.in configure bfd-in2.h elf.c libbfd.h"
if ( echo $* | grep keep\-v850 > /dev/null ) ; then
for i in $v850_files ; do