aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2010-07-27 21:02:34 +0000
committerMaciej W. Rozycki <macro@linux-mips.org>2010-07-27 21:02:34 +0000
commit8680f6e1845c30a88057c582e47ac10e1bf38fdb (patch)
tree735c92f83d1491e5fcf5bd3c06d34568d8ca5f51 /gas
parent26ab7092a2a92cb00adbad2f34bd104cedb41b87 (diff)
downloadbinutils-8680f6e1845c30a88057c582e47ac10e1bf38fdb.zip
binutils-8680f6e1845c30a88057c582e47ac10e1bf38fdb.tar.gz
binutils-8680f6e1845c30a88057c582e47ac10e1bf38fdb.tar.bz2
* config/tc-mips.c (mips_ip): Use symbol_temp_new_now to create
a fake label.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-mips.c4
2 files changed, 6 insertions, 3 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 09ee0a2..a47c8be 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2010-07-26 Maciej W. Rozycki <macro@codesourcery.com>
+
+ * config/tc-mips.c (mips_ip): Use symbol_temp_new_now to create
+ a fake label.
+
2010-07-24 Maciej W. Rozycki <macro@codesourcery.com>
* 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 103ab6f..4c3beba 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. */