Removed obsolete Makefile.dos (was being sanitized out anyhow).
[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.
6efd877d 4
a39116f1 5 This file is part of GAS, the GNU Assembler.
6efd877d 6
a39116f1
RP
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.
6efd877d 11
a39116f1
RP
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.
6efd877d 16
a39116f1
RP
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 20
6efd877d 21extern struct obstack notes; /* eg FixS live here. */
fecd2382 22
6efd877d 23extern struct obstack cond_obstack; /* this is where we track .ifdef/.endif
a39116f1 24 (if we do that at all). */
fecd2382 25
6efd877d 26extern unsigned int local_bss_counter; /* Zeroed before a pass. */
a39116f1 27/* Only used by .lcomm directive. */
fecd2382 28
6efd877d
KR
29extern symbolS *symbol_rootP; /* all the symbol nodes */
30extern symbolS *symbol_lastP; /* last struct symbol we made, or NULL */
fecd2382 31
6efd877d 32extern symbolS abs_symbol;
fecd2382 33
6efd877d
KR
34extern symbolS *dot_text_symbol;
35extern symbolS *dot_data_symbol;
36extern symbolS *dot_bss_symbol;
fecd2382 37
3340f7e5 38#if __STDC__ == 1
fecd2382 39
6efd877d
KR
40char *decode_local_label_name (char *s);
41symbolS *symbol_find (char *name);
42symbolS *symbol_find_base (char *name, int strip_underscore);
43symbolS *symbol_find_or_make (char *name);
44symbolS *symbol_make (char *name);
45symbolS *symbol_new (char *name, segT segment, long value, fragS * frag);
46void colon (char *sym_name);
47void local_colon (int n);
48void symbol_begin (void);
49void symbol_table_insert (symbolS * symbolP);
50void verify_symbol_chain (symbolS * rootP, symbolS * lastP);
51
52#ifdef LOCAL_LABELS_DOLLAR
53int dollar_label_defined (long l);
54void dollar_label_clear (void);
55void define_dollar_label (long l);
56char *dollar_label_name (long l, int augend);
57#endif /* LOCAL_LABELS_DOLLAR */
58
59#ifdef LOCAL_LABELS_FB
60void fb_label_instance_inc (long label);
61char *fb_label_name (long n, long augend);
62#endif /* LOCAL_LABELS_FB */
fecd2382 63
3340f7e5 64#else /* not __STDC__ */
fecd2382 65
6efd877d
KR
66char *decode_local_label_name ();
67char *fb_label_name ();
68symbolS *symbol_find ();
69symbolS *symbol_find_base ();
70symbolS *symbol_find_or_make ();
71symbolS *symbol_make ();
72symbolS *symbol_new ();
73void colon ();
74void local_colon ();
75void symbol_begin ();
76void symbol_table_insert ();
77void verify_symbol_chain ();
78
79#ifdef LOCAL_LABELS_DOLLAR
80int dollar_label_defined ();
81void dollar_label_clear ();
82void define_dollar_label ();
83char *dollar_label_name ();
84#endif /* LOCAL_LABELS_DOLLAR */
85
86#ifdef LOCAL_LABELS_FB
87void fb_label_instance_inc ();
88char *fb_label_name ();
89#endif /* LOCAL_LABELS_FB */
fecd2382 90
3340f7e5 91#endif /* not __STDC__ */
fecd2382
RP
92
93
94/*
95 * Local Variables:
96 * comment-column: 0
97 * fill-column: 131
98 * End:
99 */
100
8b228fe9 101/* end of symbols.h */
This page took 0.065399 seconds and 4 git commands to generate.