* dis-asm.h (print_insn_m32r): Declare.
authorDavid Edelsohn <dje.gcc@gmail.com>
Thu, 17 Oct 1996 18:18:12 +0000 (18:18 +0000)
committerDavid Edelsohn <dje.gcc@gmail.com>
Thu, 17 Oct 1996 18:18:12 +0000 (18:18 +0000)
include/.Sanitize
include/ChangeLog
include/dis-asm.h

index 05149b3..0ed04e0 100644 (file)
@@ -115,6 +115,34 @@ else
        done
 fi
 
+m32r_files="ChangeLog dis-asm.h"
+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 dis-asm.h"
 if ( echo $* | grep keep\-v850 > /dev/null ) ; then
        for i in $v850_files ; do
index 5dbe584..f7fa48e 100644 (file)
@@ -1,3 +1,9 @@
+start-sanitize-m32r
+Thu Oct 17 11:17:40 1996  Doug Evans  <dje@canuck.cygnus.com>
+
+       * dis-asm.h (print_insn_m32r): Declare.
+
+end-sanitize-m32r
 Mon Oct 14 23:56:52 1996  Ian Lance Taylor  <ian@cygnus.com>
 
        * libiberty.h: Declare parameter types for xmalloc and xrealloc.
index e38331b..a16ca00 100644 (file)
@@ -130,6 +130,9 @@ extern int print_insn_i960          PARAMS ((bfd_vma, disassemble_info*));
 extern int print_insn_sh               PARAMS ((bfd_vma, disassemble_info*));
 extern int print_insn_shl              PARAMS ((bfd_vma, disassemble_info*));
 extern int print_insn_hppa             PARAMS ((bfd_vma, disassemble_info*));
+/* start-sanitize-m32r */
+extern int print_insn_m32r             PARAMS ((bfd_vma, disassemble_info*));
+/* end-sanitize-m32r */
 extern int print_insn_m88k             PARAMS ((bfd_vma, disassemble_info*));
 extern int print_insn_mn10200          PARAMS ((bfd_vma, disassemble_info*));
 extern int print_insn_mn10300          PARAMS ((bfd_vma, disassemble_info*));