diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2010-12-16 18:48:28 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@linux-mips.org> | 2010-12-16 18:48:28 +0000 |
commit | a1facbec7a584827dc10d1e3afc326e8653de4ac (patch) | |
tree | 4218d509ac25e1c8f2b067a980198f734f6c7dca /gas/config/tc-mips.h | |
parent | f8e9a93000a380b2d82e02d362127962419567fa (diff) | |
download | gdb-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/config/tc-mips.h')
-rw-r--r-- | gas/config/tc-mips.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/config/tc-mips.h b/gas/config/tc-mips.h index abd8d1e..3da94ad 100644 --- a/gas/config/tc-mips.h +++ b/gas/config/tc-mips.h @@ -112,6 +112,9 @@ extern int mips_parse_long_option (const char *); #define tc_frob_label(sym) mips_define_label (sym) extern void mips_define_label (symbolS *); +#define tc_new_dot_label(sym) mips_record_label (sym) +extern void mips_record_label (symbolS *); + #define tc_frob_file_before_adjust() mips_frob_file_before_adjust () extern void mips_frob_file_before_adjust (void); |