aboutsummaryrefslogtreecommitdiff
path: root/opcodes/mips-dis.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-08-30 08:28:08 +0000
committerAlan Modra <amodra@gmail.com>2002-08-30 08:28:08 +0000
commit53f32ea5c66d3ea26bc37e18a8a2589aad990ac7 (patch)
treed2b89cc0daef2b77e211ec4dcc268210bfa89f97 /opcodes/mips-dis.c
parent37f45cf8983f613d7411c0d7770505da5bb4e76a (diff)
downloadgdb-53f32ea5c66d3ea26bc37e18a8a2589aad990ac7.zip
gdb-53f32ea5c66d3ea26bc37e18a8a2589aad990ac7.tar.gz
gdb-53f32ea5c66d3ea26bc37e18a8a2589aad990ac7.tar.bz2
* v850-dis.c (disassemble): Remove bfd_mach_v850ea case.
* mips-dis.c (_print_insn_mips): Don't use hard-coded mach constants.
Diffstat (limited to 'opcodes/mips-dis.c')
-rw-r--r--opcodes/mips-dis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/mips-dis.c b/opcodes/mips-dis.c
index 9b35a47..af44788 100644
--- a/opcodes/mips-dis.c
+++ b/opcodes/mips-dis.c
@@ -595,7 +595,7 @@ _print_insn_mips (memaddr, info, endianness)
#endif
#if SYMTAB_AVAILABLE
- if (info->mach == 16
+ if (info->mach == bfd_mach_mips16
|| (info->flavour == bfd_target_elf_flavour
&& info->symbols != NULL
&& ((*(elf_symbol_type **) info->symbols)->internal_elf_sym.st_other