Use bool in gas
[binutils-gdb.git] / gas / config / tc-moxie.c
index 580b6a4a4ecf3f9dd4b2cb9d8ed31fcb78c687bd..22a29a0b74d0d1fdb12623e73826e5d554eb7a8c 100644 (file)
@@ -1,5 +1,5 @@
 /* tc-moxie.c -- Assemble code for moxie
-   Copyright (C) 2009-2020 Free Software Foundation, Inc.
+   Copyright (C) 2009-2021 Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
 
@@ -66,13 +66,13 @@ md_begin (void)
 
   /* Insert names into hash table.  */
   for (count = 0, opcode = moxie_form1_opc_info; count++ < 64; opcode++)
-    str_hash_insert (opcode_hash_control, opcode->name, (char *) opcode);
+    str_hash_insert (opcode_hash_control, opcode->name, opcode, 0);
 
   for (count = 0, opcode = moxie_form2_opc_info; count++ < 4; opcode++)
-    str_hash_insert (opcode_hash_control, opcode->name, (char *) opcode);
+    str_hash_insert (opcode_hash_control, opcode->name, opcode, 0);
 
   for (count = 0, opcode = moxie_form3_opc_info; count++ < 10; opcode++)
-    str_hash_insert (opcode_hash_control, opcode->name, (char *) opcode);
+    str_hash_insert (opcode_hash_control, opcode->name, opcode, 0);
 
   bfd_set_arch_mach (stdoutput, TARGET_ARCH, 0);
 }
@@ -529,7 +529,7 @@ md_assemble (char *str)
                     (p - frag_now->fr_literal),
                     2,
                     &arg,
-                    TRUE,
+                    true,
                     BFD_RELOC_MOXIE_10_PCREL);
       }
       break;