gas/
authorMaciej W. Rozycki <macro@linux-mips.org>
Mon, 4 Jul 2011 19:27:28 +0000 (19:27 +0000)
committerMaciej W. Rozycki <macro@linux-mips.org>
Mon, 4 Jul 2011 19:27:28 +0000 (19:27 +0000)
commite3a82c8e754de197a7df9868003a324800ac80cb
tree981ed4790b0e0f36e20b0a11b34635f21e0aa6d8
parent7475b06c2068a2fa8e774f3cbe809e3d00218a72
gas/
* config/tc-mips.c (append_insn): Make sure DWARF-2 location
information is properly adjusted for branches that get swapped.

gas/testsuite/
* gas/mips/loc-swap.d: New test case for DWARF-2 location with
branch swapping.
* gas/mips/loc-swap-dis.d: Likewise.
* gas/mips/mips16@loc-swap.d: Likewise, MIPS16 version.
* gas/mips/mips16@loc-swap-dis.d: Likewise.
* gas/mips/loc-swap.s: Source for the new tests.
* gas/mips/mips.exp: Run the new tests.
gas/ChangeLog
gas/config/tc-mips.c
gas/testsuite/ChangeLog
gas/testsuite/gas/mips/loc-swap-dis.d [new file with mode: 0644]
gas/testsuite/gas/mips/loc-swap.d [new file with mode: 0644]
gas/testsuite/gas/mips/mips.exp
gas/testsuite/gas/mips/mips16@loc-swap-dis.d [new file with mode: 0644]
gas/testsuite/gas/mips/mips16@loc-swap.d [new file with mode: 0644]