diff options
Diffstat (limited to 'opcodes/disassemble.c')
-rw-r--r-- | opcodes/disassemble.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/opcodes/disassemble.c b/opcodes/disassemble.c index ab23635016..c8690ed649 100644 --- a/opcodes/disassemble.c +++ b/opcodes/disassemble.c @@ -1,5 +1,5 @@ /* Select disassembly routine for specified architecture. - Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 + Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify @@ -49,6 +49,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #define ARCH_mn10300 #define ARCH_ns32k #define ARCH_openrisc +#define ARCH_or32 #define ARCH_pdp11 #define ARCH_pj #define ARCH_powerpc @@ -235,6 +236,14 @@ disassembler (abfd) disassemble = print_insn_openrisc; break; #endif +#ifdef ARCH_or32 + case bfd_arch_or32: + if (bfd_big_endian (abfd)) + disassemble = print_insn_big_or32; + else + disassemble = print_insn_little_or32; + break; +#endif #ifdef ARCH_pdp11 case bfd_arch_pdp11: disassemble = print_insn_pdp11; |