* Makefile.am: Rename .dep* files to DEP*. Change DEP variable to
[deliverable/binutils-gdb.git] / gas / itbl-ops.h
index 7ec04f9895df70ef29c07cc2b969bf856a88124f..d69ea7fbe58c6ca54931a278669ddaf6ea672c75 100644 (file)
@@ -1,5 +1,5 @@
 /* itbl-ops.h
-   Copyright (C) 1997  Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999 Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
 
 /* External functions, constants and defines for itbl support */
 
 #include "ansidecl.h"
+
+/* Include file notes: "expr.h" needed before targ-*.h,
+ * "targ-env.h" includes the chain of target dependant headers,
+ * "targ-cpu.h" has the HAVE_ITBL_CPU define, and
+ * as.h includes them all */
+#include "as.h"
+
+#ifdef HAVE_ITBL_CPU
 #include "itbl-cpu.h"
+#endif
 
 /* Defaults for definitions required by generic code */
 #ifndef ITBL_NUMBER_OF_PROCESSORS
@@ -83,9 +92,9 @@ char *itbl_get_field PARAMS ((char **s));
 unsigned long itbl_assemble PARAMS ((char *name, char *operands));
 int itbl_disassemble PARAMS ((char *str, unsigned long insn));
 int itbl_parse PARAMS ((char *tbl));   /* parses insn tbl */
-unsigned long itbl_get_reg_val PARAMS ((char *name));
-unsigned long itbl_get_val PARAMS ((e_processor processor, e_type type,
-                                   char *name));
+int itbl_get_reg_val PARAMS ((char *name, unsigned long *pval));
+int itbl_get_val PARAMS ((e_processor processor, e_type type, char *name,
+                         unsigned long *pval));
 char *itbl_get_name PARAMS ((e_processor processor, e_type type,
                             unsigned long val));
 
This page took 0.029899 seconds and 4 git commands to generate.