diff options
author | Alan Modra <amodra@bigpond.net.au> | 2002-08-30 08:28:08 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2002-08-30 08:28:08 +0000 |
commit | 35036b49b835d8f9feb7a42c5ae9f67b2a119f98 (patch) | |
tree | 06cd823ca2c2cdb67b917085623a483c4197284b /opcodes | |
parent | e7eb1c7e0291abbeca46bc0472ca01bd512083d4 (diff) | |
download | gdb-35036b49b835d8f9feb7a42c5ae9f67b2a119f98.tar.gz |
* 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')
-rw-r--r-- | opcodes/ChangeLog | 6 | ||||
-rw-r--r-- | opcodes/mips-dis.c | 2 | ||||
-rw-r--r-- | opcodes/v850-dis.c | 4 |
3 files changed, 7 insertions, 5 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 7fd83af1707..5e0cfe9508c 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,9 @@ +2002-08-30 Alan Modra <amodra@bigpond.net.au> + + * v850-dis.c (disassemble): Remove bfd_mach_v850ea case. + + * mips-dis.c (_print_insn_mips): Don't use hard-coded mach constants. + 2002-08-28 Svein E. Seldal <Svein.Seldal@solidas.com> * configure.in: Added bfd_tic4x_arch. diff --git a/opcodes/mips-dis.c b/opcodes/mips-dis.c index 9b35a472712..af44788821a 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 diff --git a/opcodes/v850-dis.c b/opcodes/v850-dis.c index e72b1e8d2e1..dbd43aac76e 100644 --- a/opcodes/v850-dis.c +++ b/opcodes/v850-dis.c @@ -77,10 +77,6 @@ disassemble (memaddr, info, insn) case bfd_mach_v850e: target_processor = PROCESSOR_V850E; break; - - case bfd_mach_v850ea: - target_processor = PROCESSOR_V850EA; - break; } /* Find the opcode. */ |