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