/* BFD support for the M16C/M32C processors.
- Copyright (C) 2004-2019 Free Software Foundation, Inc.
+ Copyright (C) 2004-2022 Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
/* Like bfd_default_scan but if the string is just "m32c" then
skip the m16c architecture. */
-static bfd_boolean
+static bool
m32c_scan (const bfd_arch_info_type * info, const char * string)
{
if (strcmp (string, "m32c") == 0
&& info->mach == bfd_mach_m16c)
- return FALSE;
+ return false;
return bfd_default_scan (info, string);
}
bfd_default_compatible, m32c_scan, bfd_arch_default_fill, next, 0 }
static const bfd_arch_info_type arch_info_struct =
- N (bfd_mach_m32c, "m32c", 3, FALSE, NULL);
+ N (bfd_mach_m32c, "m32c", 3, false, NULL);
const bfd_arch_info_type bfd_m32c_arch =
- N (bfd_mach_m16c, "m16c", 4, TRUE, &arch_info_struct);
+ N (bfd_mach_m16c, "m16c", 4, true, &arch_info_struct);