* struc-symbol.h: Put local_symbol code in ifdef BFD_ASSEMBLER.
[platform/upstream/binutils.git] / gas / struc-symbol.h
index 1087c2b..7573566 100644 (file)
@@ -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 */