Add new ELF ABI defines
[deliverable/binutils-gdb.git] / gas / struc-symbol.h
index 1087c2b9f44faaf3ce7d90e81bc88e0241b1828b..1560f9a3dfea2b41b377833e80a9c1fc8e1e417c 100644 (file)
@@ -1,5 +1,6 @@
 /* struct_symbol.h - Internal symbol structure
-   Copyright (C) 1987, 92, 93, 94, 95, 98, 1999 Free Software Foundation, Inc.
+   Copyright (C) 1987, 92, 93, 94, 95, 98, 99, 2000
+   Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
 
@@ -34,13 +35,13 @@ struct symbol
   /* The (4-origin) position of sy_name in the symbol table of the object
      file.  This will be 0 for (nameless) .stabd symbols.
 
-     Not used until write_object_file() time. */
+     Not used until write_object_file() time.  */
   unsigned long sy_name_offset;
 
   /* What we write in .o file (if permitted).  */
   obj_symbol_type sy_symbol;
 
-  /* The 24 bit symbol number.  Symbol numbers start at 0 and are unsigned. */
+  /* The 24 bit symbol number.  Symbol numbers start at 0 and are unsigned.  */
   long sy_number;
 #endif
 
@@ -69,7 +70,7 @@ struct symbol
      are local and would otherwise not be.  */
   unsigned int sy_used_in_reloc : 1;
 
-  /* Whether the symbol is used as an operand or in an expression.  
+  /* Whether the symbol is used as an operand or in an expression.
      NOTE:  Not all the backends keep this information accurate;
      backends which use this bit are responsible for setting it when
      a symbol is used in backend routines.  */
@@ -90,6 +91,8 @@ struct symbol
 #endif
 };
 
+#ifdef BFD_ASSEMBLER
+
 /* A pointer in the symbol may point to either a complete symbol
    (struct symbol above) or to a local symbol (struct local_symbol
    defined here).  The symbol code can detect the case by examining
@@ -137,6 +140,6 @@ struct local_symbol
 #define local_symbol_get_real_symbol(l) ((l)->u.lsy_sym)
 #define local_symbol_set_real_symbol(l, s) ((l)->u.lsy_sym = (s))
 
-#endif /* __struc_symbol_h__ */
+#endif /* BFD_ASSEMBLER */
 
-/* end of struc-symbol.h */
+#endif /* __struc_symbol_h__ */
This page took 0.025257 seconds and 4 git commands to generate.