This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [PATCH 1/3] opcodes/arc: Compute insn lengths in disassembler


Hi,

> +static int
> +arc_insn_length (unsigned isa_mask, bfd_byte msb,
> +                 bfd_byte lsb ATTRIBUTE_UNUSED)
> +{
> +  static int tbl [32]; /* 0x00 -> 0x1f */
> +  static int tbl_init = 0;

Please use bfd_boolean instead of int for tbl_init.

Otherwise, it seems sane to me.

Best,
Claudiu


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]