/* s390-dis.c -- Disassemble S390 instructions
- Copyright 2000, 2001 Free Software Foundation, Inc.
+ Copyright 2000, 2001, 2002 Free Software Foundation, Inc.
Contributed by Martin Schwidefsky (schwidefsky@de.ibm.com).
This file is part of GDB, GAS and the GNU binutils.
static int opc_index[256];
static int current_arch_mask = 0;
+static void init_disasm PARAMS ((struct disassemble_info *));
+static unsigned int s390_extract_operand
+ PARAMS ((unsigned char *, const struct s390_operand *));
+
/* Set up index table for first opcode byte. */
static void
init_disasm (info)
- struct disassemble_info *info ATTRIBUTE_UNUSED;
+ struct disassemble_info *info;
{
const struct s390_opcode *opcode;
const struct s390_opcode *opcode_end;
}
switch (info->mach)
{
- case bfd_mach_s390_esa:
+ case bfd_mach_s390_31:
current_arch_mask = 1 << S390_OPCODE_ESA;
break;
- case bfd_mach_s390_esame:
+ case bfd_mach_s390_64:
current_arch_mask = 1 << S390_OPCODE_ESAME;
break;
default: