* config.bfd,configure.in,configure: Add m32r support.
authorDavid Edelsohn <dje.gcc@gmail.com>
Mon, 9 Sep 1996 19:37:47 +0000 (19:37 +0000)
committerDavid Edelsohn <dje.gcc@gmail.com>
Mon, 9 Sep 1996 19:37:47 +0000 (19:37 +0000)
bfd/.Sanitize
bfd/ChangeLog

index 5558c7f083fe6a336e1a6cfe0bccf38ff81f30a5..668f47c55611a7336a1654373105b126c4855b60 100644 (file)
@@ -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
index 2935292e6e8db7c22247e5031978b7e2d71e8e8f..22bc29216dc10e9eb619b25063f0fa70a7847ac9 100644 (file)
@@ -1,5 +1,8 @@
 Mon Sep  9 12:31:22 1996  Doug Evans  <dje@canuck.cygnus.com>
 
+start-sanitize-m32r
+       * config.bfd,configure.in,configure: Add m32r support.
+end-sanitize-m32r
        * config.bfd: Keep target list alphabetically sorted.
 
 start-sanitize-v850