gas/
commit4de5ef95f32fd470e56caa4f9c06dd25587a7ef6
authorMaciej W. Rozycki <macro@linux-mips.org>
Wed, 14 Jan 2004 18:01:09 +0000 (14 18:01 +0000)
committerMaciej W. Rozycki <macro@linux-mips.org>
Wed, 14 Jan 2004 18:01:09 +0000 (14 18:01 +0000)
treecd6e05b310ad662e3a8a65410538fdc1328c1a0b
parent91fff1a176ab6115c0e04655a80af699042bfd98
gas/
* config/tc-mips.c (append_insn): Properly detect variant frags
that preclude swapping of relaxed branches.  Correctly swap
instructions between frags when dealing with relaxed branches.

gas/testsuite/
* gas/mips/relax-swap1-mips1.d: New test for branch relaxation
with swapping for MIPS1.
* gas/mips/relax-swap1-mips2.d: New test for branch relaxation
with swapping for MIPS2.
* gas/mips/relax-swap1.l: Stderr output for the new tests.
* gas/mips/relax-swap1.s: Source for the new tests.
* gas/mips/relax-swap2.d: New test for branch likely relaxation
with swapping.
* gas/mips/relax-swap2.l: Stderr output for the new test.
* gas/mips/relax-swap2.s: Source for the new test.
* gas/mips/mips.exp: Run the new tests.
gas/ChangeLog
gas/config/tc-mips.c
gas/testsuite/ChangeLog
gas/testsuite/gas/mips/mips.exp
gas/testsuite/gas/mips/relax-swap1-mips1.d [new file with mode: 0644]
gas/testsuite/gas/mips/relax-swap1-mips2.d [new file with mode: 0644]
gas/testsuite/gas/mips/relax-swap1.l [new file with mode: 0644]
gas/testsuite/gas/mips/relax-swap1.s [new file with mode: 0644]
gas/testsuite/gas/mips/relax-swap2.d [new file with mode: 0644]
gas/testsuite/gas/mips/relax-swap2.l [new file with mode: 0644]
gas/testsuite/gas/mips/relax-swap2.s [new file with mode: 0644]