mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-24 18:44:20 +08:00
* disassemble.c (disassemble_init_for_target): M32C ISAs are
enums, so convert them to bit masks, which attributes are.
This commit is contained in:
parent
fe77349403
commit
760c0f6a1a
@ -1,3 +1,8 @@
|
||||
2005-07-20 DJ Delorie <dj@redhat.com>
|
||||
|
||||
* disassemble.c (disassemble_init_for_target): M32C ISAs are
|
||||
enums, so convert them to bit masks, which attributes are.
|
||||
|
||||
2005-07-18 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* configure.in: Restore alpha ordering to list of arches.
|
||||
|
@ -452,9 +452,9 @@ disassemble_init_for_target (struct disassemble_info * info)
|
||||
case bfd_arch_m32c:
|
||||
info->endian = BFD_ENDIAN_BIG;
|
||||
if (info->mach == bfd_mach_m16c)
|
||||
info->insn_sets = ISA_M16C;
|
||||
info->insn_sets = 1 << ISA_M16C;
|
||||
else
|
||||
info->insn_sets = ISA_M32C;
|
||||
info->insn_sets = 1 << ISA_M32C;
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user