From e1b47bd5c755ede061cc2ce0c608255ac9c8ce88 Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Sun, 23 Sep 2012 10:41:24 +0000 Subject: gas/ 2012-09-23 Richard Sandiford Maciej W. Rozycki * 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. --- gas/ChangeLog | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'gas/ChangeLog') diff --git a/gas/ChangeLog b/gas/ChangeLog index 8bbf177..c3abe80 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,4 +1,19 @@ 2012-09-23 Richard Sandiford + Maciej W. Rozycki + + * 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. + +2012-09-23 Richard Sandiford * config/tc-mips.c (SEXT_16BIT): New macro. (mips16_immed): Take the reloc type as a parameter. Do not impose -- cgit v1.1