From db2d85c61661bd26e2b9d448d7860c1d8c868170 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Thu, 17 Oct 1996 18:18:12 +0000 Subject: [PATCH] * dis-asm.h (print_insn_m32r): Declare. --- include/.Sanitize | 28 ++++++++++++++++++++++++++++ include/ChangeLog | 6 ++++++ include/dis-asm.h | 3 +++ 3 files changed, 37 insertions(+) diff --git a/include/.Sanitize b/include/.Sanitize index 05149b345ce..0ed04e074c3 100644 --- a/include/.Sanitize +++ b/include/.Sanitize @@ -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 diff --git a/include/ChangeLog b/include/ChangeLog index 5dbe5847a82..f7fa48ea9d5 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,9 @@ +start-sanitize-m32r +Thu Oct 17 11:17:40 1996 Doug Evans + + * dis-asm.h (print_insn_m32r): Declare. + +end-sanitize-m32r Mon Oct 14 23:56:52 1996 Ian Lance Taylor * libiberty.h: Declare parameter types for xmalloc and xrealloc. diff --git a/include/dis-asm.h b/include/dis-asm.h index e38331b428c..a16ca00acea 100644 --- a/include/dis-asm.h +++ b/include/dis-asm.h @@ -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*)); -- 2.30.2