From 8680f6e1845c30a88057c582e47ac10e1bf38fdb Mon Sep 17 00:00:00 2001 From: "Maciej W. Rozycki" Date: Tue, 27 Jul 2010 21:02:34 +0000 Subject: [PATCH] * config/tc-mips.c (mips_ip): Use symbol_temp_new_now to create a fake label. --- gas/ChangeLog | 5 +++++ gas/config/tc-mips.c | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 09ee0a27e7c..a47c8be93ac 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2010-07-26 Maciej W. Rozycki + + * config/tc-mips.c (mips_ip): Use symbol_temp_new_now to create + a fake label. + 2010-07-24 Maciej W. Rozycki * config/tc-mips.c (macro)[M_JAL_1, M_JAL_2]: Handle the JALR diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index 103ab6f3588..4c3beba0994 100644 --- a/gas/config/tc-mips.c +++ b/gas/config/tc-mips.c @@ -9953,9 +9953,7 @@ do_msbd: /* Set the argument to the current address in the section. */ offset_expr.X_op = O_symbol; - offset_expr.X_add_symbol = - symbol_new ("L0\001", now_seg, - (valueT) frag_now_fix (), frag_now); + offset_expr.X_add_symbol = symbol_temp_new_now (); offset_expr.X_add_number = 0; /* Put the floating point number into the section. */ -- 2.30.2