diff options
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/ChangeLog | 4 | ||||
-rw-r--r-- | opcodes/mips-dis.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 762c724..4110c10 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,7 @@ +2008-07-10 Richard Sandiford <rdsandiford@googlemail.com> + + * mips-dis.c (_print_insn_mips): Use ELF_ST_IS_MIPS16. + 2008-07-07 Adam Nemet <anemet@caviumnetworks.com> * mips-opc.c (CP): New macro. diff --git a/opcodes/mips-dis.c b/opcodes/mips-dis.c index 35a5119..744d5a9 100644 --- a/opcodes/mips-dis.c +++ b/opcodes/mips-dis.c @@ -2068,8 +2068,8 @@ _print_insn_mips (bfd_vma memaddr, if (info->mach == bfd_mach_mips16 || (info->symbols != NULL && bfd_asymbol_flavour (*info->symbols) == bfd_target_elf_flavour - && ((*(elf_symbol_type **) info->symbols)->internal_elf_sym.st_other - == STO_MIPS16))) + && ELF_ST_IS_MIPS16 ((*(elf_symbol_type **) info->symbols) + ->internal_elf_sym.st_other))) return print_insn_mips16 (memaddr, info); #endif |