* 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.
This commit is contained in:
Maciej W. Rozycki
2010-12-16 18:48:28 +00:00
parent f8e9a93000
commit a1facbec7a
5 changed files with 46 additions and 24 deletions

View File

@ -1395,6 +1395,11 @@ that @code{md_pcrel_from} does not take a section argument.
@cindex tc_frob_label
If you define this macro, GAS will call it each time a label is defined.
@item tc_new_dot_label
@cindex tc_new_dot_label
If you define this macro, GAS will call it each time a fake label is created
off the special dot symbol.
@item md_section_align
@cindex md_section_align
GAS will call this function for each section at the end of the assembly, to