Added m32rx sanitization.
authorNick Clifton <nickc@redhat.com>
Tue, 16 Dec 1997 14:38:21 +0000 (14:38 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 16 Dec 1997 14:38:21 +0000 (14:38 +0000)
bfd/.Sanitize
bfd/ChangeLog

index 288fc0b1ef23d2fd9d503395a9142aa1ed9693f6..c8d8b20b019aa0b1bc7703f9bd12e7b66d4ff7ae 100644 (file)
@@ -485,6 +485,34 @@ else
        done
 fi
 
+m32rx_files="ChangeLog archures.c bfd-in2.h elf32-m32r.c cpu-m32r.c"
+if ( echo $* | grep keep\-m32rx > /dev/null ) ; then
+       for i in $m32rx_files ; do
+               if test -r $i && (grep sanitize-m32rx $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Keeping m32rx stuff in $i
+                       fi
+               fi
+       done
+else
+       for i in $m32rx_files ; do
+               if test -f $i && (grep sanitize-m32rx $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Removing traces of \"m32rx\" from $i...
+                       fi
+                       cp $i new
+                       sed '/start\-sanitize\-m32rx/,/end\-sanitize\-m32rx/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
+
 for i in * ; do
        if test ! -d $i && (grep sanitize $i > /dev/null) ; then
                echo '***' Some mentions of Sanitize are still left in $i! 1>&2
index 023d00ebc5a8aad319fdaa9349d72554e40de04a..52bfcba332d793e69dbd753ad521979df81b769e 100644 (file)
@@ -7,10 +7,13 @@ Tue Dec 16 08:09:56 1997  Gavin Koch  <gavin@cygnus.com>
 
 Mon Dec 15 16:08:52 1997  Nick Clifton  <nickc@cygnus.com>
 
+start-sanitize-m32rx
        * elf32-m32r.c (m32r_elf_merge_private_bfd_data): Allow M32R
        object files to be merged into a M32RX executable.
-
-       * archures.c: Add bfd_mach_m32r and bfd_mach_m32rx.
+       
+       * archures.c: Add bfd_mach_m32rx.
+end-sanitize-m32rx
+       * archures.c: Add bfd_mach_m32r.
 
 Mon Dec 15 16:11:22 1997  Fred Fish  <fnf@cygnus.com>
 
@@ -41,10 +44,14 @@ Mon Dec 15 15:01:15 1997  Nick Clifton  <nickc@cygnus.com>
        (bfd_elf32_bfd_print_private_bfd_data): Point to
        m32r_elf_print_private_bfd_data. 
 
+start-sanitize-m32rx
        * cpu-m32r.c: Add m32rx cpu architecture.
+       * bfd-in2.h (bfd_mach_m32r, bfd_mach_m32rx): Add identifiers for
+       M32RX architecture machines.
+end-sanitize-m32rx
 
        * bfd-in2.h (bfd_mach_m32r, bfd_mach_m32rx): Add identifiers for
-       M32R and M32RX architecture machines.
+       M32R architecture machines.
 
 Fri Dec 12 11:30:28 1997  Brendan Kehoe  <brendan@canuck.cygnus.com>