summaryrefslogtreecommitdiff
path: root/opcodes/v850-dis.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2021-03-31 10:36:19 +1030
committerAlan Modra <amodra@gmail.com>2021-03-31 10:49:23 +1030
commit78933a4ad9ae9c2e274d41e6b3036ea582c47810 (patch)
treed88281747f95a9e279e16043aaf57c7093481d85 /opcodes/v850-dis.c
parent0a1b45a20eaa98d4d9026dc1fd17e79e741183af (diff)
downloadbinutils-gdb-78933a4ad9ae9c2e274d41e6b3036ea582c47810.tar.gz
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.
Diffstat (limited to 'opcodes/v850-dis.c')
-rw-r--r--opcodes/v850-dis.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/opcodes/v850-dis.c b/opcodes/v850-dis.c
index 8813ce54e79..88bd4512d4a 100644
--- a/opcodes/v850-dis.c
+++ b/opcodes/v850-dis.c
@@ -85,7 +85,7 @@ get_operand_value (const struct v850_operand *operand,
int bytes_read,
bfd_vma memaddr,
struct disassemble_info * info,
- bfd_boolean noerror,
+ bool noerror,
int *invalid)
{
unsigned long value;
@@ -382,7 +382,7 @@ disassemble (bfd_vma memaddr,
*opindex_ptr != 0;
opindex_ptr++, opnum++)
{
- bfd_boolean square = FALSE;
+ bool square = false;
long value;
int flag;
char *prefix;
@@ -428,7 +428,7 @@ disassemble (bfd_vma memaddr,
if (opnum == 1 && opnum == memop)
{
info->fprintf_func (info->stream, "%s[", prefix);
- square = TRUE;
+ square = true;
}
else if ( (strcmp ("stc.w", op->name) == 0
|| strcmp ("cache", op->name) == 0
@@ -436,7 +436,7 @@ disassemble (bfd_vma memaddr,
&& opnum == 2 && opnum == memop)
{
info->fprintf_func (info->stream, ", [");
- square = TRUE;
+ square = true;
}
else if ( (strcmp (op->name, "pushsp") == 0
|| strcmp (op->name, "popsp") == 0
@@ -451,7 +451,7 @@ disassemble (bfd_vma memaddr,
&& opnum == memop)
{
info->fprintf_func (info->stream, "%s[", prefix);
- square = TRUE;
+ square = true;
}
else if (opnum == 2
&& ( op->opcode == 0x00e407e0 /* clr1 */
@@ -461,7 +461,7 @@ disassemble (bfd_vma memaddr,
))
{
info->fprintf_func (info->stream, ", %s[", prefix);
- square = TRUE;
+ square = true;
}
else if (opnum > 1)
info->fprintf_func (info->stream, ", %s", prefix);