gas/
authorRichard Sandiford <rdsandiford@googlemail.com>
Sun, 8 Jan 2012 12:11:42 +0000 (12:11 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Sun, 8 Jan 2012 12:11:42 +0000 (12:11 +0000)
commit462427c4188dd69b535b4e5c4e058820bbb736d0
tree3fb80b4fd2717e688f0ccbfc4c208a5000e3182c
parent49c57d84cdd203495286ff66f7ce485182ed166d
gas/
2011-01-08  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
    Richard Sandiford  <rdsandiford@googlemail.com>

* config/tc-mips.c (mips_move_labels): Take the list of labels and
textness as parameters.
(mips_move_text_labels): New function.
(append_insn): Use it instead of mips_move_labels.
(mips_emit_delays, start_noreorder): Likewise.
(mips_align): Take the labels rather than just one label.
Move all labels to after the .align.
(s_align): Change the last argument to mips_align.
(s_cons): Likewise.
(s_float_cons): Likewise.
(s_gpword): Likewise.
(s_gpdword): Likewise.

gas/testsuite/
* gas/mips/align3.s, gas/mips/align3.d: New testcase.
* gas/mips/mips.exp: Run it.
gas/ChangeLog
gas/config/tc-mips.c
gas/testsuite/ChangeLog
gas/testsuite/gas/mips/align3.d [new file with mode: 0644]
gas/testsuite/gas/mips/align3.s [new file with mode: 0644]
gas/testsuite/gas/mips/mips.exp