aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-mips.h
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2012-09-23 10:41:24 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2012-09-23 10:41:24 +0000
commite1b47bd5c755ede061cc2ce0c608255ac9c8ce88 (patch)
tree7b1d88b2d84c49ac68aa8679adfaf949cc754a45 /gas/config/tc-mips.h
parentc150d1d2f5ebe12d8de3205efa547becdc56fddb (diff)
downloadgdb-e1b47bd5c755ede061cc2ce0c608255ac9c8ce88.zip
gdb-e1b47bd5c755ede061cc2ce0c608255ac9c8ce88.tar.gz
gdb-e1b47bd5c755ede061cc2ce0c608255ac9c8ce88.tar.bz2
gas/
2012-09-23 Richard Sandiford <rdsandiford@googlemail.com> Maciej W. Rozycki <macro@codesourcery.com> * config/tc-mips.h (mips_record_label): Delete. (mips_add_dot_label): Declare. (tc_new_dot_label): Use it. * config/tc-mips.c (mips_assembling_insn): New variable. (md_assemble): Call mips_mark_labels. Set mips_assembling_insn while the main part of the function is executing. (mips_compressed_mark_label): New function, split out from... (mips_compressed_mark_labels): ...here. (append_insn): Don't call mips_mark_labels here. (mips_record_label): Make local. (mips_add_dot_label): New function. gas/testsuite/ * gas/mips/dot-1.s, gas/mips/dot-1.d, gas/mips/micromips@dot-1.d, gas/mips/mips16@dot-1.d: New test. * gas/mips/mips.exp: Run it.
Diffstat (limited to 'gas/config/tc-mips.h')
-rw-r--r--gas/config/tc-mips.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/tc-mips.h b/gas/config/tc-mips.h
index 364ebd8..dc4c0a4 100644
--- a/gas/config/tc-mips.h
+++ b/gas/config/tc-mips.h
@@ -113,8 +113,8 @@ 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_new_dot_label(sym) mips_add_dot_label (sym)
+extern void mips_add_dot_label (symbolS *);
#define tc_frob_file_before_adjust() mips_frob_file_before_adjust ()
extern void mips_frob_file_before_adjust (void);