diff options
Diffstat (limited to 'gas/struc-symbol.h')
-rw-r--r-- | gas/struc-symbol.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gas/struc-symbol.h b/gas/struc-symbol.h index 1560f9a..485ba5a 100644 --- a/gas/struc-symbol.h +++ b/gas/struc-symbol.h @@ -22,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. */ @@ -89,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 |