opcodes: constify & scope microblaze opcodes
[deliverable/binutils-gdb.git] / gas / config / tc-microblaze.c
index 9893bc47cfd7732c0196027f6929351cbcd68e68..881172d52748fbcc573eeb91913b3450afcd0bff 100644 (file)
@@ -411,12 +411,12 @@ const pseudo_typeS md_pseudo_table[] =
 void
 md_begin (void)
 {
-  struct op_code_struct * opcode;
+  const struct op_code_struct * opcode;
 
   opcode_hash_control = str_htab_create ();
 
   /* Insert unique names into hash table.  */
-  for (opcode = opcodes; opcode->name; opcode ++)
+  for (opcode = microblaze_opcodes; opcode->name; opcode ++)
     str_hash_insert (opcode_hash_control, opcode->name, opcode, 0);
 }
 
This page took 0.022621 seconds and 4 git commands to generate.