]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Fix warnings and dependency
authorMichael Meissner <gnu@the-meissners.org>
Tue, 14 Nov 1995 09:52:29 +0000 (09:52 +0000)
committerMichael Meissner <gnu@the-meissners.org>
Tue, 14 Nov 1995 09:52:29 +0000 (09:52 +0000)
sim/ppc/ChangeLog
sim/ppc/Makefile.in
sim/ppc/igen.c

index aae1bc22a5f2707bf60a8b49ee0a3d5541e8ed58..2502cb5af27a5b54ee83973d5b2683811ae71157 100644 (file)
@@ -1,3 +1,10 @@
+Tue Nov 14 04:47:25 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * Makefile.in (devices.o): Update dependency.
+
+       * igen.c (gen_model_h): Use correct variable in loop.
+       (lf_print_c_semantic_function_header): Delete unused function.
+
 Mon Nov 13 09:14:13 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
 
        * igen.c ({insn,model}_table_fields): Spell mnemonic correctly.
index ccf0ab262ad3ea0264044fa08db4330c5e9e24f3..d7243713cf960eb0803562ff1cc4f70885a134b9 100644 (file)
@@ -319,7 +319,7 @@ spreg.o: spreg.h spreg.c words.h
 
 main.o: main.c $(PSIM_H) function_unit.h itable.h options.h
 
-devices.o: devices.c devices.h $(BASICS_H) \
+devices.o: devices.c devices.h $(CPU_H) \
        device_tree.h events.h
 
 device_tree.o: device_tree.c device_tree.h devices.h $(BASICS_H)
index 4eb23102efd5a85a91f4429be44f6a368ffa89ba..be84fa873a41b13e0ae62cf2cabca27e9b69c9f7 100644 (file)
@@ -2267,21 +2267,6 @@ lf_print_c_semantic(lf *file,
   lf_printf(file, "}\n");
 }
 
-static void
-lf_print_c_semantic_function_header(lf *file,
-                                   char *basename,
-                                   insn_bits *expanded_bits)
-{
-  lf_printf(file, "\n");
-  lf_printf(file, "STATIC_SEMANTICS unsigned_word\n");
-  lf_print_function_name(file,
-                        basename,
-                        expanded_bits,
-                        function_name_prefix_semantics);
-  lf_printf(file, "\n(%s)\n",
-           (idecode_cache ? cache_semantic_formal : semantic_formal));
-}
-
 static void
 lf_print_c_semantic_function(lf *file,
                             insn *instruction,
@@ -3084,7 +3069,7 @@ gen_model_h(insn_table *table, lf *file)
   lf_printf(file, "\n");
 
   for(macro = model_macros; macro; macro = macro->next) {
-    model_c_or_h_data(table, file, insn_ptr->file_entry);
+    model_c_or_h_data(table, file, macro->file_entry);
   }
 
   lf_printf(file, "#ifndef INLINE_MODEL\n");