* config/tc-tic80.c (build_insn): Handle instructions that have
[deliverable/binutils-gdb.git] / gas / itbl-ops.c
index 9117f3120e1af5cdb0588c9f8b0b44b7102ebe8f..4eaf08b9a2f91d57a6fdc9e580572d96440ccb19 100644 (file)
@@ -286,6 +286,9 @@ itbl_init (void)
   e_processor procn;
   e_type type;
 
+  if (!itbl_have_entries)
+       return;
+
   /* Since register names don't have a prefix, put them in the symbol table so
      they can't be used as symbols.  This simplifies argument parsing as
      we can let gas parse registers for us. */
@@ -329,7 +332,9 @@ append_insns_as_macros (void)
   struct itbl_entry *e, **es;
   int n, id, size, new_size, new_num_opcodes;
 
-  ASSERT (itbl_num_opcodes > 0);
+  if (!itbl_have_entries)
+       return;
+
   if (!itbl_num_opcodes)       /* no new instructions to add! */
     {
       return;
This page took 0.02317 seconds and 4 git commands to generate.