gas/
authorMaciej W. Rozycki <macro@linux-mips.org>
Wed, 14 Jan 2004 18:01:09 +0000 (18:01 +0000)
committerMaciej W. Rozycki <macro@linux-mips.org>
Wed, 14 Jan 2004 18:01:09 +0000 (18:01 +0000)
commit895921c97ec40f58b356443e50255d054571ef46
tree0595e8d1ce51eb5d41117bd396ab8b467cd86434
parent63d06c5c42c2367dcafe44679742b5435463418b
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]