daily update
[deliverable/binutils-gdb.git] / gas / cgen.h
index b2b19630fdcb7cd1a74bc6f2f32a3e7ce9d27401..9d814b785c9fd5a94f2a1c0abb8be057bd538586 100644 (file)
@@ -1,5 +1,5 @@
 /* GAS cgen support.
-   Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
+   Copyright 1998, 1999, 2000 Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
 
@@ -33,13 +33,13 @@ extern CGEN_CPU_DESC gas_cgen_cpu_desc;
 /* Struct defining result of gas_cgen_finish_insn.  */
 typedef struct {
   /* frag containing the insn */
-  fragS *frag;
+  fragS * frag;
   /* Address of insn in frag.  */
-  char *addr;
+  char * addr;
   /* Number of fixups this insn has.  */
   int num_fixups;
   /* Array of fixups.  */
-  fixS *fixups[GAS_CGEN_MAX_FIXUPS];
+  fixS * fixups[GAS_CGEN_MAX_FIXUPS];
 } finished_insnS;
 
 /* Callback for operand parsing.
@@ -53,9 +53,12 @@ extern const char * gas_cgen_parse_operand
 /* Call this from md_assemble to initialize the assembler callback.  */
 extern void gas_cgen_init_parse PARAMS ((void));
 
-extern void gas_cgen_save_fixups PARAMS ((void));
-extern void gas_cgen_restore_fixups PARAMS ((void));
-extern void gas_cgen_swap_fixups PARAMS ((void));
+/* Routines and macros for saving fixup chains.  */
+extern void gas_cgen_save_fixups PARAMS ((int));
+extern void gas_cgen_restore_fixups PARAMS ((int));
+extern void gas_cgen_swap_fixups PARAMS ((int));
+extern void gas_cgen_initialize_saved_fixups_array PARAMS ((void));
+#define MAX_SAVED_FIXUP_CHAINS 50
 
 /* Add a register to the assembler's hash table.
    This makes lets GAS parse registers for us.
@@ -77,7 +80,7 @@ extern fixS * gas_cgen_record_fixup_exp PARAMS ((fragS *, int, const CGEN_INSN *
                                                 expressionS *));
 
 /* md_apply_fix3 handler */
-extern int gas_cgen_md_apply_fix3 PARAMS ((fixS *, valueT *, segT));
+extern void gas_cgen_md_apply_fix3 PARAMS ((fixS *, valueT *, segT));
 
 /* tc_gen_reloc handler */
 extern arelent *gas_cgen_tc_gen_reloc PARAMS ((asection *, fixS *));
@@ -93,4 +96,6 @@ md_cgen_record_fixup_exp PARAMS ((fragS *, int, const CGEN_INSN *, int,
                                  const CGEN_OPERAND *, int,
                                  expressionS *));
 
+extern void gas_cgen_md_operand PARAMS ((expressionS *));
+
 #endif /* GAS_CGEN_H */
This page took 0.043375 seconds and 4 git commands to generate.