* language.h (PRINT_LITERAL_FORM): New macro that takes character
[deliverable/binutils-gdb.git] / gas / symbols.h
CommitLineData
fecd2382 1/* symbols.h -
3340f7e5
RP
2
3 Copyright (C) 1987, 1990, 1992 Free Software Foundation, Inc.
a39116f1
RP
4
5 This file is part of GAS, the GNU Assembler.
6
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)
10 any later version.
11
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.
16
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. */
fecd2382
RP
20
21/* $Id$ */
22
23extern struct obstack notes; /* eg FixS live here. */
24
25extern struct obstack cond_obstack; /* this is where we track .ifdef/.endif
a39116f1 26 (if we do that at all). */
fecd2382
RP
27
28extern unsigned int local_bss_counter; /* Zeroed before a pass. */
a39116f1 29/* Only used by .lcomm directive. */
fecd2382
RP
30
31extern symbolS * symbol_rootP; /* all the symbol nodes */
32extern symbolS * symbol_lastP; /* last struct symbol we made, or NULL */
33
34extern symbolS abs_symbol;
35
36extern symbolS* dot_text_symbol;
37extern symbolS* dot_data_symbol;
38extern symbolS* dot_bss_symbol;
39
3340f7e5 40#if __STDC__ == 1
fecd2382 41
a39116f1 42char *decode_local_label_name(char *s);
fecd2382
RP
43char *local_label_name(int n, int augend);
44symbolS *symbol_find(char *name);
45symbolS *symbol_find_base(char *name, int strip_underscore);
46symbolS *symbol_find_or_make(char *name);
47symbolS *symbol_make(char *name);
48symbolS *symbol_new(char *name, segT segment, long value, fragS *frag);
49void colon(char *sym_name);
50void local_colon(int n);
51void symbol_begin(void);
52void symbol_table_insert(symbolS *symbolP);
53void verify_symbol_chain(symbolS *rootP, symbolS *lastP);
54
3340f7e5 55#else /* not __STDC__ */
fecd2382 56
a39116f1 57char *decode_local_label_name();
fecd2382
RP
58char *local_label_name();
59symbolS *symbol_find();
60symbolS *symbol_find_base();
61symbolS *symbol_find_or_make();
62symbolS *symbol_make();
63symbolS *symbol_new();
64void colon();
65void local_colon();
66void symbol_begin();
67void symbol_table_insert();
68void verify_symbol_chain();
69
3340f7e5 70#endif /* not __STDC__ */
fecd2382
RP
71
72
73/*
74 * Local Variables:
75 * comment-column: 0
76 * fill-column: 131
77 * End:
78 */
79
8b228fe9 80/* end of symbols.h */
This page took 0.061903 seconds and 4 git commands to generate.