aboutsummaryrefslogtreecommitdiff
path: root/gas/doc
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2010-12-16 18:48:28 +0000
committerMaciej W. Rozycki <macro@linux-mips.org>2010-12-16 18:48:28 +0000
commita1facbec7a584827dc10d1e3afc326e8653de4ac (patch)
tree4218d509ac25e1c8f2b067a980198f734f6c7dca /gas/doc
parentf8e9a93000a380b2d82e02d362127962419567fa (diff)
downloadgdb-a1facbec7a584827dc10d1e3afc326e8653de4ac.zip
gdb-a1facbec7a584827dc10d1e3afc326e8653de4ac.tar.gz
gdb-a1facbec7a584827dc10d1e3afc326e8653de4ac.tar.bz2
* 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.
Diffstat (limited to 'gas/doc')
-rw-r--r--gas/doc/internals.texi5
1 files changed, 5 insertions, 0 deletions
diff --git a/gas/doc/internals.texi b/gas/doc/internals.texi
index f8495a9..58b5686 100644
--- a/gas/doc/internals.texi
+++ b/gas/doc/internals.texi
@@ -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