diff options
author | Michael Walle <michael@walle.cc> | 2012-03-31 19:54:20 +0200 |
---|---|---|
committer | Michael Walle <michael@walle.cc> | 2012-04-01 20:30:23 +0200 |
commit | 79368f4984eefcbed5d714c6131e58fd71178030 (patch) | |
tree | d8803db0048545aaa9f4c9a078773bb3ad6a1e41 /dis-asm.h | |
parent | 060544d30f4cc94bced1186e1b042960aebcdfea (diff) |
target-lm32: add simple disassembler
Because binutils disassembler is based on libopcode, this is a rewrite from
scratch.
Signed-off-by: Michael Walle <michael@walle.cc>
Diffstat (limited to 'dis-asm.h')
-rw-r--r-- | dis-asm.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -221,6 +221,8 @@ enum bfd_architecture bfd_arch_ia64, /* HP/Intel ia64 */ #define bfd_mach_ia64_elf64 64 #define bfd_mach_ia64_elf32 32 + bfd_arch_lm32, /* Lattice Mico32 */ +#define bfd_mach_lm32 1 bfd_arch_last }; #define bfd_mach_s390_31 31 @@ -404,6 +406,7 @@ int print_insn_crisv32 (bfd_vma, disassemble_info*); int print_insn_crisv10 (bfd_vma, disassemble_info*); int print_insn_microblaze (bfd_vma, disassemble_info*); int print_insn_ia64 (bfd_vma, disassemble_info*); +int print_insn_lm32 (bfd_vma, disassemble_info*); #if 0 /* Fetch the disassembler for a given BFD, if that support is available. */ |