/* mmix-dis.c -- Disassemble MMIX instructions.
- Copyright (C) 2000-2021 Free Software Foundation, Inc.
+ Copyright (C) 2000-2022 Free Software Foundation, Inc.
Written by Hans-Peter Nilsson (hp@bitrange.com)
This file is part of the GNU opcodes library.
/* Initialize a target-specific array in INFO. */
-static bfd_boolean
+static bool
initialize_mmix_dis_info (struct disassemble_info *info)
{
struct mmix_dis_info *minfop = malloc (sizeof (struct mmix_dis_info));
long i;
if (minfop == NULL)
- return FALSE;
+ return false;
memset (minfop, 0, sizeof (*minfop));
{
FATAL_DEBUG;
free (minfop);
- return FALSE;
+ return false;
}
nsyms = bfd_canonicalize_symtab (abfd, syms);
minfop->spec_reg_name[mmix_spec_regs[i].number] = mmix_spec_regs[i].name;
info->private_data = (void *) minfop;
- return TRUE;
+ return true;
}
/* A table indexed by the first byte is constructed as we disassemble each