LoongArch: Fix LD check fails.
[binutils-gdb.git] / bfd / cpu-m32c.c
index 86e6b783d582b65f30cb198d84423a9023569e3b..1f9f00cbdf7cfc7b90a9c4b7185b8ce67c1ac753 100644 (file)
@@ -1,5 +1,5 @@
 /* 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);
 }
@@ -40,8 +40,8 @@ m32c_scan (const bfd_arch_info_type * info, const char * 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);