* symbols.c (symbol_clone_if_forward_ref): Call tc_new_dot_label
authorMaciej W. Rozycki <macro@linux-mips.org>
Thu, 16 Dec 2010 18:48:28 +0000 (18:48 +0000)
committerMaciej W. Rozycki <macro@linux-mips.org>
Thu, 16 Dec 2010 18:48:28 +0000 (18:48 +0000)
commita1facbec7a584827dc10d1e3afc326e8653de4ac
tree4218d509ac25e1c8f2b067a980198f734f6c7dca
parentf8e9a93000a380b2d82e02d362127962419567fa
* symbols.c (symbol_clone_if_forward_ref): Call tc_new_dot_label
for new fake labels created off the dot special symbol.
* config/tc-mips.h (tc_new_dot_label): New macro.
(mips_record_label): New prototype.
* config/tc-mips.c (my_getExpression): Remove MIPS16 fake label
annotation.
(s_cons, s_float_cons, s_gpword, s_gpdword): Only clear labels
recorded once data expressions have been evaluated.
(mips_define_label): Move code to record labels over to...
(mips_record_label): ... this new function.
* doc/internals.texi: Document tc_new_dot_label.
gas/ChangeLog
gas/config/tc-mips.c
gas/config/tc-mips.h
gas/doc/internals.texi
gas/symbols.c