]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gas/config/tc-z8k.c
PR26513, 629310abec breaks assembling PowerPC Linux kernels
[thirdparty/binutils-gdb.git] / gas / config / tc-z8k.c
index 188604316285d18c9d296054b7be69a0373810ff..60e1d05cdbfdcad961815e37873081eb1f319244 100644 (file)
@@ -151,7 +151,7 @@ md_begin (void)
     {
       /* Only enter unique codes into the table.  */
       if (idx != opcode->idx)
-       str_hash_insert (opcode_hash_control, opcode->name, (char *) opcode);
+       str_hash_insert (opcode_hash_control, opcode->name, opcode, 0);
       idx = opcode->idx;
     }
 
@@ -166,7 +166,7 @@ md_begin (void)
       fake_opcode->name = md_pseudo_table[idx].poc_name;
       fake_opcode->func = (void *) (md_pseudo_table + idx);
       fake_opcode->opcode = 250;
-      str_hash_insert (opcode_hash_control, fake_opcode->name, fake_opcode);
+      str_hash_insert (opcode_hash_control, fake_opcode->name, fake_opcode, 0);
     }
 }