Use bool in opcodes

cpu/
	* frv.opc: Replace bfd_boolean with bool, FALSE with false, and
	TRUE with true throughout.
opcodes/
	* sysdep.h (POISON_BFD_BOOLEAN): Define.
	* aarch64-asm-2.c, * aarch64-asm.c, * aarch64-asm.h,
	* aarch64-dis-2.c, * aarch64-dis.c, * aarch64-dis.h,
	* aarch64-gen.c, * aarch64-opc.c, * aarch64-opc.h, * arc-dis.c,
	* arc-dis.h, * arc-fxi.h, * arc-opc.c, * arm-dis.c, * bfin-dis.c,
	* cris-dis.c, * csky-dis.c, * csky-opc.h, * dis-buf.c,
	* disassemble.c, * frv-opc.c, * frv-opc.h, * h8300-dis.c,
	* i386-dis.c, * m68k-dis.c, * metag-dis.c, * microblaze-dis.c,
	* microblaze-dis.h, * micromips-opc.c, * mips-dis.c,
	* mips-formats.h, * mips-opc.c, * mips16-opc.c, * mmix-dis.c,
	* msp430-dis.c, * nds32-dis.c, * nfp-dis.c, * nios2-dis.c,
	* ppc-dis.c, * riscv-dis.c, * score-dis.c, * score7-dis.c,
	* tic6x-dis.c, * v850-dis.c, * vax-dis.c, * wasm32-dis.c,
	* xtensa-dis.c: Replace bfd_boolean with bool, FALSE with false,
	and TRUE with true throughout.
This commit is contained in:
Alan Modra
2021-03-31 10:36:19 +10:30
parent 0a1b45a20e
commit 78933a4ad9
51 changed files with 1673 additions and 1650 deletions

View File

@@ -69,14 +69,14 @@ struct mmix_dis_info
/* 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));
@@ -103,7 +103,7 @@ initialize_mmix_dis_info (struct disassemble_info *info)
{
FATAL_DEBUG;
free (minfop);
return FALSE;
return false;
}
nsyms = bfd_canonicalize_symtab (abfd, syms);
@@ -133,7 +133,7 @@ initialize_mmix_dis_info (struct disassemble_info *info)
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