gas/
authorRichard Sandiford <rdsandiford@googlemail.com>
Sun, 23 Sep 2012 10:41:24 +0000 (10:41 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Sun, 23 Sep 2012 10:41:24 +0000 (10:41 +0000)
commite1b47bd5c755ede061cc2ce0c608255ac9c8ce88
tree7b1d88b2d84c49ac68aa8679adfaf949cc754a45
parentc150d1d2f5ebe12d8de3205efa547becdc56fddb
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.
gas/ChangeLog
gas/config/tc-mips.c
gas/config/tc-mips.h
gas/testsuite/ChangeLog
gas/testsuite/gas/mips/dot-1.d [new file with mode: 0644]
gas/testsuite/gas/mips/dot-1.s [new file with mode: 0644]
gas/testsuite/gas/mips/micromips@dot-1.d [new file with mode: 0644]
gas/testsuite/gas/mips/mips.exp
gas/testsuite/gas/mips/mips16@dot-1.d [new file with mode: 0644]