aboutsummaryrefslogtreecommitdiff
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
commit756d1d01889f120348ff040ef9599b595524d4b9 (patch)
tree6824960fd4c6210bea420d1b45687511fa8090d5 /gas/stabs.c
parenta4447b93785ea7fd86d583bb892f3cb5f6db71d3 (diff)
downloadgdb-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/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 38bbc24..900826b 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;