3 Copyright (C) 1987, 1990, 1992 Free Software Foundation, Inc.
5 This file is part of GAS, the GNU Assembler.
7 GAS is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2, or (at your option)
12 GAS is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with GAS; see the file COPYING. If not, write to
19 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
23 extern struct obstack notes; /* eg FixS live here. */
25 extern struct obstack cond_obstack; /* this is where we track .ifdef/.endif
26 (if we do that at all). */
28 extern unsigned int local_bss_counter; /* Zeroed before a pass. */
29 /* Only used by .lcomm directive. */
31 extern symbolS * symbol_rootP; /* all the symbol nodes */
32 extern symbolS * symbol_lastP; /* last struct symbol we made, or NULL */
34 extern symbolS abs_symbol;
36 extern symbolS* dot_text_symbol;
37 extern symbolS* dot_data_symbol;
38 extern symbolS* dot_bss_symbol;
42 char *decode_local_label_name(char *s);
43 char *local_label_name(int n, int augend);
44 symbolS *symbol_find(char *name);
45 symbolS *symbol_find_base(char *name, int strip_underscore);
46 symbolS *symbol_find_or_make(char *name);
47 symbolS *symbol_make(char *name);
48 symbolS *symbol_new(char *name, segT segment, long value, fragS *frag);
49 void colon(char *sym_name);
50 void local_colon(int n);
51 void symbol_begin(void);
52 void symbol_table_insert(symbolS *symbolP);
53 void verify_symbol_chain(symbolS *rootP, symbolS *lastP);
55 #else /* not __STDC__ */
57 char *decode_local_label_name();
58 char *local_label_name();
59 symbolS *symbol_find();
60 symbolS *symbol_find_base();
61 symbolS *symbol_find_or_make();
62 symbolS *symbol_make();
63 symbolS *symbol_new();
67 void symbol_table_insert();
68 void verify_symbol_chain();
70 #endif /* not __STDC__ */
80 /* end of symbols.h */