From 328e45595b12375b6d16a846069507d25086abdb Mon Sep 17 00:00:00 2001 From: obrien Date: Mon, 28 May 2001 05:21:37 +0000 Subject: Import of GNU Binutils version 2.11.0. Believe it or not, this is heavily stripped down. --- contrib/binutils/gas/struc-symbol.h | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) (limited to 'contrib/binutils/gas/struc-symbol.h') diff --git a/contrib/binutils/gas/struc-symbol.h b/contrib/binutils/gas/struc-symbol.h index 7573566..485ba5a 100644 --- a/contrib/binutils/gas/struc-symbol.h +++ b/contrib/binutils/gas/struc-symbol.h @@ -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. @@ -21,6 +22,12 @@ #ifndef __struc_symbol_h__ #define __struc_symbol_h__ +#ifdef BFD_ASSEMBLER +/* The BFD code wants to walk the list in both directions. */ +#undef SYMBOLS_NEED_BACKPOINTERS +#define SYMBOLS_NEED_BACKPOINTERS +#endif + /* The information we keep for a symbol. Note that the symbol table holds pointers both to this and to local_symbol structures. See below. */ @@ -34,13 +41,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 +76,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. */ @@ -88,6 +95,10 @@ struct symbol #ifdef TC_SYMFIELD_TYPE TC_SYMFIELD_TYPE sy_tc; #endif + +#ifdef TARGET_SYMBOL_FIELDS + TARGET_SYMBOL_FIELDS +#endif }; #ifdef BFD_ASSEMBLER @@ -142,5 +153,3 @@ struct local_symbol #endif /* BFD_ASSEMBLER */ #endif /* __struc_symbol_h__ */ - -/* end of struc-symbol.h */ -- cgit v1.1