diff options
Diffstat (limited to 'opcodes/or1k-dis.c')
-rw-r--r-- | opcodes/or1k-dis.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/opcodes/or1k-dis.c b/opcodes/or1k-dis.c index c4ea463..9fab559 100644 --- a/opcodes/or1k-dis.c +++ b/opcodes/or1k-dis.c @@ -143,7 +143,7 @@ or1k_cgen_print_operand (CGEN_CPU_DESC cd, } } -cgen_print_fn * const or1k_cgen_print_handlers[] = +cgen_print_fn * const or1k_cgen_print_handlers[] = { print_insn_normal, }; @@ -333,7 +333,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 (! or1k_cgen_insn_supported (cd, insn)) @@ -351,7 +351,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; @@ -470,7 +470,7 @@ print_insn_or1k (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 @@ -511,7 +511,7 @@ print_insn_or1k (bfd_vma pc, disassemble_info *info) break; } } - } + } /* If we haven't initialized yet, initialize the opcode table. */ if (! cd) |