* tc-sparc.c (sparc_ip): Check more carefully for conflicting architectures.
[deliverable/binutils-gdb.git] / gas / symbols.h
... / ...
CommitLineData
1/* symbols.h -
2
3 Copyright (C) 1987, 1990, 1992 Free Software Foundation, Inc.
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. */
20
21extern struct obstack notes; /* eg FixS live here. */
22
23extern struct obstack cond_obstack; /* this is where we track .ifdef/.endif
24 (if we do that at all). */
25
26extern symbolS *symbol_rootP; /* all the symbol nodes */
27extern symbolS *symbol_lastP; /* last struct symbol we made, or NULL */
28
29extern symbolS abs_symbol;
30
31extern symbolS *dot_text_symbol;
32extern symbolS *dot_data_symbol;
33extern symbolS *dot_bss_symbol;
34
35char *decode_local_label_name PARAMS ((char *s));
36symbolS *symbol_find PARAMS ((CONST char *name));
37symbolS *symbol_find_base PARAMS ((CONST char *name, int strip_underscore));
38symbolS *symbol_find_or_make PARAMS ((char *name));
39symbolS *symbol_make PARAMS ((CONST char *name));
40symbolS *symbol_new PARAMS ((CONST char *name, segT segment, valueT value,
41 fragS * frag));
42void colon PARAMS ((char *sym_name));
43void local_colon PARAMS ((int n));
44void symbol_begin PARAMS ((void));
45void symbol_table_insert PARAMS ((symbolS * symbolP));
46void verify_symbol_chain PARAMS ((symbolS * rootP, symbolS * lastP));
47
48#ifdef LOCAL_LABELS_DOLLAR
49int dollar_label_defined PARAMS ((long l));
50void dollar_label_clear PARAMS ((void));
51void define_dollar_label PARAMS ((long l));
52char *dollar_label_name PARAMS ((long l, int augend));
53#endif /* LOCAL_LABELS_DOLLAR */
54
55#ifdef LOCAL_LABELS_FB
56void fb_label_instance_inc PARAMS ((long label));
57char *fb_label_name PARAMS ((long n, long augend));
58#endif /* LOCAL_LABELS_FB */
59
60/* Get and set the values of symbols. These used to be macros. */
61extern valueT S_GET_VALUE PARAMS ((symbolS *));
62extern void S_SET_VALUE PARAMS ((symbolS *, valueT));
63
64#ifdef BFD_ASSEMBLER
65extern int S_IS_EXTERNAL PARAMS ((symbolS *));
66extern int S_IS_COMMON PARAMS ((symbolS *));
67extern int S_IS_DEFINED PARAMS ((symbolS *));
68extern int S_IS_DEBUG PARAMS ((symbolS *));
69extern int S_IS_LOCAL PARAMS ((symbolS *));
70extern int S_IS_EXTERN PARAMS ((symbolS *));
71extern int S_IS_STABD PARAMS ((symbolS *));
72extern CONST char *S_GET_NAME PARAMS ((symbolS *));
73extern segT S_GET_SEGMENT PARAMS ((symbolS *));
74extern void S_SET_SEGMENT PARAMS ((symbolS *, segT));
75extern void S_SET_EXTERNAL PARAMS ((symbolS *));
76extern void S_SET_NAME PARAMS ((symbolS *, char *));
77extern void S_CLEAR_EXTERNAL PARAMS ((symbolS *));
78#endif
79
80/* end of symbols.h */
This page took 0.022469 seconds and 4 git commands to generate.