aboutsummaryrefslogtreecommitdiff
path: root/gas/symbols.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2003-05-27 16:00:04 +0000
committerRichard Henderson <rth@redhat.com>2003-05-27 16:00:04 +0000
commitb7d6ed970a277da806f01110c032f0e19eab2368 (patch)
tree730f4dcf37bb163e951090a003b0e6b73fd0af5a /gas/symbols.h
parent9e4aeb93074936ab70c362cacd61bf5e737b95a6 (diff)
downloadgdb-b7d6ed970a277da806f01110c032f0e19eab2368.zip
gdb-b7d6ed970a277da806f01110c032f0e19eab2368.tar.gz
gdb-b7d6ed970a277da806f01110c032f0e19eab2368.tar.bz2
* symbols.c (temp_label_name): New.
(symbol_temp_new, symbol_temp_new_now, symbol_temp_make): New. (symbol_set_value_now): New. * symbols.h: Prototype them. * dwarf2dbg.c: Use them. (fake_label_name, symbol_new_now, set_symbol_value_now): Remove.
Diffstat (limited to 'gas/symbols.h')
-rw-r--r--gas/symbols.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gas/symbols.h b/gas/symbols.h
index d3b9dd3..0bc88d8 100644
--- a/gas/symbols.h
+++ b/gas/symbols.h
@@ -59,6 +59,10 @@ symbolS *symbol_create PARAMS ((const char *name, segT segment, valueT value,
fragS * frag));
struct local_symbol *local_symbol_make PARAMS ((const char *name, segT section,
valueT value, fragS * frag));
+symbolS *symbol_temp_new PARAMS ((segT, valueT, fragS *));
+symbolS *symbol_temp_new_now PARAMS ((void));
+symbolS *symbol_temp_make PARAMS ((void));
+
symbolS *colon PARAMS ((const char *sym_name));
void local_colon PARAMS ((int n));
void symbol_begin PARAMS ((void));
@@ -172,6 +176,7 @@ extern symbolS *symbol_next PARAMS ((symbolS *));
extern expressionS *symbol_get_value_expression PARAMS ((symbolS *));
extern void symbol_set_value_expression PARAMS ((symbolS *,
const expressionS *));
+extern void symbol_set_value_now PARAMS ((symbolS *));
extern void symbol_set_frag PARAMS ((symbolS *, fragS *));
extern fragS *symbol_get_frag PARAMS ((symbolS *));
extern void symbol_mark_used PARAMS ((symbolS *));