MIPS/GAS/testsuite: Split `branch-misc-2' tests into two
authorMaciej W. Rozycki <macro@imgtec.com>
Sat, 2 Jul 2016 22:09:06 +0000 (23:09 +0100)
committerMaciej W. Rozycki <macro@imgtec.com>
Sat, 2 Jul 2016 22:10:10 +0000 (23:10 +0100)
commit00437d3b6fbeeeccd5d22869b92ea2fe80c41e08
tree85dedf69c7ef0dde9755cf6d7f81de2177622dc1
parentf26c9c2eaf6fbfeae03cc7926e4a5fca0bba1ae5
MIPS/GAS/testsuite: Split `branch-misc-2' tests into two

Move `branch-misc-2' tests for non locally-defined-global symbols into
separate files.  These tests have been introduced with:

commit 6f171daac941741e5fa904f6e462adb75a595495
Author: Alexandre Oliva <aoliva@redhat.com>
Date:   Thu Dec 12 04:40:22 2002 +0000

<https://sourceware.org/ml/binutils/2002-11/msg00631.html>, ("mips:
branches to external labels are broken"), and:

commit d17b874b6c14caa2f2ed1b5544a48de9f39a1a65
Author: Alexandre Oliva <aoliva@redhat.com>
Date:   Wed Mar 12 23:07:22 2003 +0000

<https://sourceware.org/ml/binutils/2003-03/msg00136.html>, ("On
resolving the MIPS gas branch reloc issue"), while the test case served
a different purpose.  With the original intent of the test case brought
back with:

commit bad36eacdad37042c4efb1c5fbf48476b47de82b
Author: Daniel Jacobowitz <drow@false.org>
Date:   Wed Nov 23 14:04:18 2005 +0000

<https://sourceware.org/ml/binutils/2005-11/msg00324.html>,
("R_MIPS_PC16, again"), these stand in the way for linker testing.

gas/
* testsuite/gas/mips/branch-misc-2.s: Move non
locally-defined-global symbol tests...
* testsuite/gas/mips/branch-misc-5.s: ... to this new test.
* testsuite/gas/mips/branch-misc-2.d: Update accordingly.
* testsuite/gas/mips/branch-misc-2-64.d: Likewise.
* testsuite/gas/mips/branch-misc-2pic.d: Likewise.
* testsuite/gas/mips/branch-misc-2pic-64.d: Likewise.
* testsuite/gas/mips/mipsr6@branch-misc-2-64.d: Likewise.
* testsuite/gas/mips/mipsr6@branch-misc-2pic-64.d: Likewise.
* testsuite/gas/mips/micromips@branch-misc-2.d: Likewise.
* testsuite/gas/mips/micromips@branch-misc-2-64.d: Likewise.
* testsuite/gas/mips/micromips@branch-misc-2pic.d: Likewise.
* testsuite/gas/mips/micromips@branch-misc-2pic-64.d: Likewise.
* testsuite/gas/mips/branch-misc-5.d: New test.
* testsuite/gas/mips/branch-misc-5pic.d: New test.
* testsuite/gas/mips/branch-misc-5-64.d: New test.
* testsuite/gas/mips/branch-misc-5pic-64.d: New test.
* testsuite/gas/mips/mipsr6@branch-misc-5-64.d: New test.
* testsuite/gas/mips/mipsr6@branch-misc-5pic-64.d: New test.
* testsuite/gas/mips/micromips@branch-misc-5.d: New test.
* testsuite/gas/mips/micromips@branch-misc-5pic.d: New test.
* testsuite/gas/mips/micromips@branch-misc-5-64.d: New test.
* testsuite/gas/mips/micromips@branch-misc-5pic-64.d: New test.
* testsuite/gas/mips/mips.exp: Run the new tests.
24 files changed:
gas/ChangeLog
gas/testsuite/gas/mips/branch-misc-2-64.d
gas/testsuite/gas/mips/branch-misc-2.d
gas/testsuite/gas/mips/branch-misc-2.s
gas/testsuite/gas/mips/branch-misc-2pic-64.d
gas/testsuite/gas/mips/branch-misc-2pic.d
gas/testsuite/gas/mips/branch-misc-5-64.d [new file with mode: 0644]
gas/testsuite/gas/mips/branch-misc-5.d [new file with mode: 0644]
gas/testsuite/gas/mips/branch-misc-5.s [new file with mode: 0644]
gas/testsuite/gas/mips/branch-misc-5pic-64.d [new file with mode: 0644]
gas/testsuite/gas/mips/branch-misc-5pic.d [new file with mode: 0644]
gas/testsuite/gas/mips/micromips@branch-misc-2-64.d
gas/testsuite/gas/mips/micromips@branch-misc-2.d
gas/testsuite/gas/mips/micromips@branch-misc-2pic-64.d
gas/testsuite/gas/mips/micromips@branch-misc-2pic.d
gas/testsuite/gas/mips/micromips@branch-misc-5-64.d [new file with mode: 0644]
gas/testsuite/gas/mips/micromips@branch-misc-5.d [new file with mode: 0644]
gas/testsuite/gas/mips/micromips@branch-misc-5pic-64.d [new file with mode: 0644]
gas/testsuite/gas/mips/micromips@branch-misc-5pic.d [new file with mode: 0644]
gas/testsuite/gas/mips/mips.exp
gas/testsuite/gas/mips/mipsr6@branch-misc-2-64.d
gas/testsuite/gas/mips/mipsr6@branch-misc-2pic-64.d
gas/testsuite/gas/mips/mipsr6@branch-misc-5-64.d [new file with mode: 0644]
gas/testsuite/gas/mips/mipsr6@branch-misc-5pic-64.d [new file with mode: 0644]