Use bool in binutils

* sysdep.h (POISON_BFD_BOOLEAN): Define.
	* addr2line.c, * ar.c, * arsup.c, * bfdtest2.c, * binemul.c,
	* binemul.h, * bucomm.c, * bucomm.h, * budbg.h, * coffgrok.c,
	* debug.c, * debug.h, * dlltool.c, * dwarf.c, * dwarf.h,
	* elfedit.c, * emul_aix.c, * mclex.c, * nm.c, * objcopy.c,
	* objdump.c, * od-macho.c, * prdbg.c, * rdcoff.c, * rddbg.c,
	* readelf.c, * rename.c, * stabs.c, * strings.c, * windint.h,
	* windmc.c, * windmc.h, * windres.c, * winduni.c,
	* wrstabs.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:39:37 +10:30
parent 78933a4ad9
commit 015dc7e1f8
37 changed files with 3241 additions and 3244 deletions

View File

@@ -48,7 +48,7 @@
int verbose = 0;
bfd_boolean target_is_bigendian = 0;
bool target_is_bigendian = 0;
const char *def_target_arch;
static void set_endianness (bfd *, const char *);
@@ -713,12 +713,12 @@ quot (const char *string)
#if defined (_WIN32) && !defined (__CYGWIN__)
/* For Windows shells, quote "like this". */
{
bfd_boolean quoted = FALSE;
bool quoted = false;
dest = buf;
if (strchr (string, ' '))
{
quoted = TRUE;
quoted = true;
*dest++ = '"';
}