diff options
author | Richard Henderson <rth@redhat.com> | 2003-05-27 19:19:29 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 2003-05-27 19:19:29 +0000 |
commit | 756d1d01889f120348ff040ef9599b595524d4b9 (patch) | |
tree | 6824960fd4c6210bea420d1b45687511fa8090d5 /gas/symbols.c | |
parent | a4447b93785ea7fd86d583bb892f3cb5f6db71d3 (diff) | |
download | gdb-756d1d01889f120348ff040ef9599b595524d4b9.zip gdb-756d1d01889f120348ff040ef9599b595524d4b9.tar.gz gdb-756d1d01889f120348ff040ef9599b595524d4b9.tar.bz2 |
* expr.c (make_expr_symbol): Fold FAKE_LABEL_NAME use into the
symbol_create call.
(current_location): Use symbol_temp_new_now.
* stabs.c (s_stab_generic): Use symbol_temp_new.
* symbols.c (temp_label_name): Remove.
(symbol_temp_new, symbol_temp_make): Use FAKE_LABEL_NAME.
Diffstat (limited to 'gas/symbols.c')
-rw-r--r-- | gas/symbols.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gas/symbols.c b/gas/symbols.c index 935c6a4..7362afb 100644 --- a/gas/symbols.c +++ b/gas/symbols.c @@ -588,15 +588,13 @@ symbol_make (name) return (symbolP); } -static const char temp_label_name[] = ".L0\001"; - symbolS * symbol_temp_new (seg, ofs, frag) segT seg; valueT ofs; fragS *frag; { - return symbol_new (temp_label_name, seg, ofs, frag); + return symbol_new (FAKE_LABEL_NAME, seg, ofs, frag); } symbolS * @@ -608,7 +606,7 @@ symbol_temp_new_now () symbolS * symbol_temp_make () { - return symbol_make (temp_label_name); + return symbol_make (FAKE_LABEL_NAME); } /* Implement symbol table lookup. |