diff options
Diffstat (limited to 'opcodes/lm32-dis.c')
-rw-r--r-- | opcodes/lm32-dis.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/opcodes/lm32-dis.c b/opcodes/lm32-dis.c index b91452b..650da29 100644 --- a/opcodes/lm32-dis.c +++ b/opcodes/lm32-dis.c @@ -149,7 +149,7 @@ lm32_cgen_print_operand (CGEN_CPU_DESC cd, } } -cgen_print_fn * const lm32_cgen_print_handlers[] = +cgen_print_fn * const lm32_cgen_print_handlers[] = { print_insn_normal, }; @@ -339,7 +339,7 @@ print_insn (CGEN_CPU_DESC cd, int length; unsigned long insn_value_cropped; -#ifdef CGEN_VALIDATE_INSN_SUPPORTED +#ifdef CGEN_VALIDATE_INSN_SUPPORTED /* Not needed as insn shouldn't be in hash lists if not supported. */ /* Supported by this cpu? */ if (! lm32_cgen_insn_supported (cd, insn)) @@ -357,7 +357,7 @@ print_insn (CGEN_CPU_DESC cd, relevant part from the buffer. */ if ((unsigned) (CGEN_INSN_BITSIZE (insn) / 8) < buflen && (unsigned) (CGEN_INSN_BITSIZE (insn) / 8) <= sizeof (unsigned long)) - insn_value_cropped = bfd_get_bits (buf, CGEN_INSN_BITSIZE (insn), + insn_value_cropped = bfd_get_bits (buf, CGEN_INSN_BITSIZE (insn), info->endian == BFD_ENDIAN_BIG); else insn_value_cropped = insn_value; @@ -476,7 +476,7 @@ print_insn_lm32 (bfd_vma pc, disassemble_info *info) arch = info->arch; if (arch == bfd_arch_unknown) arch = CGEN_BFD_ARCH; - + /* There's no standard way to compute the machine or isa number so we leave it to the target. */ #ifdef CGEN_COMPUTE_MACH @@ -517,7 +517,7 @@ print_insn_lm32 (bfd_vma pc, disassemble_info *info) break; } } - } + } /* If we haven't initialized yet, initialize the opcode table. */ if (! cd) |