/* 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.
/* 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
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. */
#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
#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__ */