I think this solves the MAKEINFO and BISON rooting problems.
[deliverable/binutils-gdb.git] / gas / symbols.h
CommitLineData
fecd2382
RP
1/* symbols.h -
2 Copyright (C) 1987, 1990 Free Software Foundation, Inc.
3
4This file is part of GAS, the GNU Assembler.
5
6GAS is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 1, or (at your option)
9any later version.
10
11GAS is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with GAS; see the file COPYING. If not, write to
18the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
19
20/* $Id$ */
21
22extern struct obstack notes; /* eg FixS live here. */
23
24extern struct obstack cond_obstack; /* this is where we track .ifdef/.endif
25 (if we do that at all). */
26
27extern unsigned int local_bss_counter; /* Zeroed before a pass. */
28 /* Only used by .lcomm directive. */
29
30extern symbolS * symbol_rootP; /* all the symbol nodes */
31extern symbolS * symbol_lastP; /* last struct symbol we made, or NULL */
32
33extern symbolS abs_symbol;
34
35extern symbolS* dot_text_symbol;
36extern symbolS* dot_data_symbol;
37extern symbolS* dot_bss_symbol;
38
39#ifdef __STDC__
40
41char *local_label_name(int n, int augend);
42symbolS *symbol_find(char *name);
43symbolS *symbol_find_base(char *name, int strip_underscore);
44symbolS *symbol_find_or_make(char *name);
45symbolS *symbol_make(char *name);
46symbolS *symbol_new(char *name, segT segment, long value, fragS *frag);
47void colon(char *sym_name);
48void local_colon(int n);
49void symbol_begin(void);
50void symbol_table_insert(symbolS *symbolP);
51void verify_symbol_chain(symbolS *rootP, symbolS *lastP);
52
53#else
54
55char *local_label_name();
56symbolS *symbol_find();
57symbolS *symbol_find_base();
58symbolS *symbol_find_or_make();
59symbolS *symbol_make();
60symbolS *symbol_new();
61void colon();
62void local_colon();
63void symbol_begin();
64void symbol_table_insert();
65void verify_symbol_chain();
66
67#endif /* __STDC__ */
68
69
70/*
71 * Local Variables:
72 * comment-column: 0
73 * fill-column: 131
74 * End:
75 */
76
77/* end: symbols.h */
This page took 0.076301 seconds and 4 git commands to generate.