diff options
Diffstat (limited to 'opcodes/ppc-dis.c')
-rw-r--r-- | opcodes/ppc-dis.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/opcodes/ppc-dis.c b/opcodes/ppc-dis.c index 372e9b0..0ac8275 100644 --- a/opcodes/ppc-dis.c +++ b/opcodes/ppc-dis.c @@ -1,5 +1,5 @@ /* ppc-dis.c -- Disassemble PowerPC instructions - Copyright 1994, 1995, 2000 Free Software Foundation, Inc. + Copyright 1994, 1995, 2000, 2001, 2002 Free Software Foundation, Inc. Written by Ian Lance Taylor, Cygnus Support This file is part of GDB, GAS, and the GNU binutils. @@ -55,6 +55,10 @@ powerpc_dialect(info) else dialect |= PPC_OPCODE_403 | PPC_OPCODE_601; + if (info->disassembler_options + && strcmp (info->disassembler_options, "power4") == 0) + dialect |= PPC_OPCODE_POWER4; + if (info->disassembler_options) { if (strstr (info->disassembler_options, "32") != NULL) |