summaryrefslogtreecommitdiff
path: root/gas/stabs.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2003-05-27 19:19:29 +0000
committerRichard Henderson <rth@redhat.com>2003-05-27 19:19:29 +0000
commit5541d1043ecdc6368bdbfb40017f5bb1a9b4ba9a (patch)
treebaedc2235abe106aa7f4b318182c6895feeb0d44 /gas/stabs.c
parentf4d41394b5547420573caa0b01c08c995c219abd (diff)
downloadbinutils-redhat-5541d1043ecdc6368bdbfb40017f5bb1a9b4ba9a.tar.gz
* 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/stabs.c')
-rw-r--r--gas/stabs.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gas/stabs.c b/gas/stabs.c
index 38bbc24687..900826b231 100644
--- a/gas/stabs.c
+++ b/gas/stabs.c
@@ -371,13 +371,11 @@ s_stab_generic (what, stab_secname, stabstr_secname)
}
else
{
- const char *fake;
symbolS *symbol;
expressionS exp;
/* Arrange for a value representing the current location. */
- fake = FAKE_LABEL_NAME;
- symbol = symbol_new (fake, saved_seg, dot, saved_frag);
+ symbol = symbol_temp_new (saved_seg, dot, saved_frag);
exp.X_op = O_symbol;
exp.X_add_symbol = symbol;