Add support for disassemble FR30 instructions.
This commit is contained in:
parent
0f461c4bfa
commit
5d6c7d6814
|
@ -95,6 +95,34 @@ else
|
|||
done
|
||||
fi
|
||||
|
||||
fr30_files="ChangeLog dis-asm.h"
|
||||
if ( echo $* | grep keep\-fr30 > /dev/null ) ; then
|
||||
for i in $fr30_files ; do
|
||||
if test ! -d $i && (grep sanitize-fr30 $i > /dev/null) ; then
|
||||
if [ -n "${verbose}" ] ; then
|
||||
echo Keeping fr30 stuff in $i
|
||||
fi
|
||||
fi
|
||||
done
|
||||
else
|
||||
for i in $fr30_files ; do
|
||||
if test ! -d $i && (grep sanitize-fr30 $i > /dev/null) ; then
|
||||
if [ -n "${verbose}" ] ; then
|
||||
echo Removing traces of \"fr30\" from $i...
|
||||
fi
|
||||
cp $i new
|
||||
sed '/start\-sanitize\-fr30/,/end-\sanitize\-fr30/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
|
||||
|
||||
if [ -n "${verbose}" ] ; then
|
||||
echo Processing \"sky\"...
|
||||
fi
|
||||
|
|
|
@ -162,6 +162,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-fr30 */
|
||||
extern int print_insn_fr30 PARAMS ((bfd_vma, disassemble_info*));
|
||||
/* end-sanitize-fr30 */
|
||||
extern int print_insn_m32r PARAMS ((bfd_vma, disassemble_info*));
|
||||
extern int print_insn_m88k PARAMS ((bfd_vma, disassemble_info*));
|
||||
extern int print_insn_mn10200 PARAMS ((bfd_vma, disassemble_info*));
|
||||
|
|
Loading…
Reference in New Issue