+2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
+
+ * testsuite/ld-mips-elf/branch-misc-2.d: New test.
+ * testsuite/ld-mips-elf/mips-elf.exp: Run it.
+
2016-07-01 Thomas Preud'homme <thomas.preudhomme@arm.com>
* testsuite/ld-arm/arm-elf.exp (Thumb-2 BL): Assemble for ARMv7.
--- /dev/null
+#name: MIPS branch-misc-2
+#source: ../../../gas/testsuite/gas/mips/branch-misc-2.s
+#objdump: --prefix-addresses -tdr --show-raw-insn
+#ld: -Ttext 0x500000 -e 0x500000 -N
+
+.*: file format elf.*mips.*
+
+#...
+
+Disassembly of section \.text:
+ \.\.\.
+ \.\.\.
+ \.\.\.
+0+50003c <[^>]*> 0411fff0 bal 0+500000 <[^>]*>
+0+500040 <[^>]*> 00000000 nop
+0+500044 <[^>]*> 0411fff3 bal 0+500014 <[^>]*>
+0+500048 <[^>]*> 00000000 nop
+0+50004c <[^>]*> 0411fff6 bal 0+500028 <[^>]*>
+0+500050 <[^>]*> 00000000 nop
+0+500054 <[^>]*> 0411000a bal 0+500080 <[^>]*>
+0+500058 <[^>]*> 00000000 nop
+0+50005c <[^>]*> 0411000d bal 0+500094 <[^>]*>
+0+500060 <[^>]*> 00000000 nop
+0+500064 <[^>]*> 04110010 bal 0+5000a8 <[^>]*>
+0+500068 <[^>]*> 00000000 nop
+ \.\.\.
+ \.\.\.
+ \.\.\.
+ \.\.\.
+#pass
# MIPS branch offset final link checking.
run_dump_test "branch-misc-1"
+run_dump_test "branch-misc-2"
run_dump_test "mips16-branch-2" [list [list ld $abi_ldflags(o32)]]
run_dump_test "mips16-branch-3" [list [list ld $abi_ldflags(o32)]]