* coff-arm.c (TARGET_LITTLE_SYM, TARGET_BIG_SYM): Replaces TARGET_SYM.
[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
KR
26extern symbolS *symbol_rootP; /* all the symbol nodes */
27extern symbolS *symbol_lastP; /* last struct symbol we made, or NULL */
fecd2382 28
6efd877d 29extern symbolS abs_symbol;
fecd2382 30
6efd877d
KR
31extern symbolS *dot_text_symbol;
32extern symbolS *dot_data_symbol;
33extern symbolS *dot_bss_symbol;
fecd2382 34
2b68b820
KR
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));
6efd877d
KR
47
48#ifdef LOCAL_LABELS_DOLLAR
2b68b820
KR
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));
6efd877d
KR
53#endif /* LOCAL_LABELS_DOLLAR */
54
55#ifdef LOCAL_LABELS_FB
2b68b820
KR
56void fb_label_instance_inc PARAMS ((long label));
57char *fb_label_name PARAMS ((long n, long augend));
6efd877d 58#endif /* LOCAL_LABELS_FB */
fecd2382 59
85051959
ILT
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
2b68b820
KR
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 *));
2b68b820
KR
72extern CONST char *S_GET_NAME PARAMS ((symbolS *));
73extern segT S_GET_SEGMENT PARAMS ((symbolS *));
2b68b820
KR
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
fecd2382 79
8b228fe9 80/* end of symbols.h */
This page took 0.163063 seconds and 4 git commands to generate.