aboutsummaryrefslogtreecommitdiff
path: root/gas/struc-symbol.h
diff options
context:
space:
mode:
Diffstat (limited to 'gas/struc-symbol.h')
-rw-r--r--gas/struc-symbol.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/struc-symbol.h b/gas/struc-symbol.h
index 1087c2b..7573566 100644
--- a/gas/struc-symbol.h
+++ b/gas/struc-symbol.h
@@ -90,6 +90,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 +139,8 @@ 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 /* BFD_ASSEMBLER */
+
#endif /* __struc_symbol_h__ */
/* end of struc-symbol.h */