Fred Fish <fnf@be.com>
[deliverable/binutils-gdb.git] / gas / frags.h
index 2628d2a07144fddd856968346f6d9fc32a15395a..9590292a4da644f39617aebe0e173039eaf4007c 100644 (file)
@@ -1,5 +1,6 @@
 /* frags.h - Header file for the frag concept.
-   Copyright (C) 1987, 92, 93, 94, 95, 1997 Free Software Foundation, Inc.
+   Copyright (C) 1987, 92, 93, 94, 95, 97, 1998
+   Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
 
@@ -18,6 +19,9 @@
    Software Foundation, 59 Temple Place - Suite 330, Boston, MA
    02111-1307, USA.  */
 
+#ifndef FRAGS_H
+#define FRAGS_H
+
 #ifdef ANSI_PROTOTYPES
 struct obstack;
 #endif
@@ -67,8 +71,12 @@ struct frag
 #ifdef USING_CGEN
   /* Don't include this unless using CGEN to keep frag size down.  */
   struct {
+    /* CGEN_INSN entry for this instruction.  */
     const struct cgen_insn *insn;
-    unsigned char opindex, opinfo;
+    /* Index into operand table.  */
+    int opindex;
+    /* Target specific data, usually reloc number.  */
+    int opinfo;
   } fr_cgen;
 #endif
 
@@ -92,7 +100,7 @@ struct frag
    however, included in frchain_now.  The fr_fix field is bogus;
    instead, use frag_now_fix ().  */
 COMMON fragS *frag_now;
-extern int frag_now_fix PARAMS ((void));
+extern addressT frag_now_fix PARAMS ((void));
 
 /* For foreign-segment symbol fixups. */
 COMMON fragS zero_address_frag;
@@ -147,4 +155,4 @@ char *frag_var PARAMS ((relax_stateT type,
                        offsetT offset,
                        char *opcode));
 
-/* end of frags.h */
+#endif /* FRAGS_H */
This page took 0.025521 seconds and 4 git commands to generate.