+2018-04-27 Maciej W. Rozycki <macro@mips.com>
+
+ * testsuite/ld-mips-elf/bal-jalx-pic.d: Only run for
+ `check_shared_lib_support' targets.
+ * testsuite/ld-mips-elf/bal-jalx-pic-n32.d: Likewise.
+ * testsuite/ld-mips-elf/bal-jalx-pic-n64.d: Likewise.
+ * testsuite/ld-mips-elf/bal-jalx-pic-micromips.d: Likewise.
+ * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n32.d: Likewise.
+ * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n64.d: Likewise.
+ * testsuite/ld-mips-elf/bal-jalx-pic-ignore.d: Likewise.
+ * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n32.d: Likewise.
+ * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n64.d: Likewise.
+ * testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips.d:
+ Likewise.
+ * testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips-n32.d:
+ Likewise.
+ * testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips-n64.d:
+ Likewise.
+ * testsuite/ld-mips-elf/hash1a.d: Likewise.
+ * testsuite/ld-mips-elf/hash1b.d: Likewise.
+ * testsuite/ld-mips-elf/hash1c.d: Likewise.
+ * testsuite/ld-mips-elf/relax-jalr-n32-shared.d: Likewise.
+ * testsuite/ld-mips-elf/relax-jalr-n64-shared.d: Likewise.
+
2018-04-27 Maciej W. Rozycki <macro@mips.com>
* testsuite/lib/ld-lib.exp (run_dump_test): Use `match_target'
#as: -EB -n32 -march=from-abi
#ld: -EB -Ttext 0x1c000000 -e 0x1c000000 -shared --ignore-branch-isa
#objdump: -dr --prefix-addresses --show-raw-insn
+#target: [check_shared_lib_support]
#dump: bal-jalx-pic-ignore-micromips.d
#as: -EB -64 -march=from-abi
#ld: -EB -Ttext 0x1c000000 -e 0x1c000000 -shared --ignore-branch-isa
#objdump: -dr --prefix-addresses --show-raw-insn
+#target: [check_shared_lib_support]
#dump: bal-jalx-pic-ignore-micromips.d
#as: -EB -32
#ld: -EB -Ttext 0x1c000000 -e 0x1c000000 -shared --ignore-branch-isa
#objdump: -dr --prefix-addresses --show-raw-insn
+#target: [check_shared_lib_support]
.*: +file format .*mips.*
#as: -EB -n32 -march=from-abi
#ld: -EB -Ttext 0x1c000000 -e 0x1c000000 -shared --ignore-branch-isa
#objdump: -dr --prefix-addresses --show-raw-insn
+#target: [check_shared_lib_support]
#dump: bal-jalx-pic-ignore.d
#as: -EB -64 -march=from-abi
#ld: -EB -Ttext 0x1c000000 -e 0x1c000000 -shared --ignore-branch-isa
#objdump: -dr --prefix-addresses --show-raw-insn
+#target: [check_shared_lib_support]
#dump: bal-jalx-pic-ignore.d
#as: -EB -32
#ld: -EB -Ttext 0x1c000000 -e 0x1c000000 -shared --ignore-branch-isa
#objdump: -dr --prefix-addresses --show-raw-insn
+#target: [check_shared_lib_support]
.*: +file format .*mips.*
#source: ../../../gas/testsuite/gas/mips/branch-addend-micromips.s
#as: -EB -n32 -march=from-abi
#ld: -EB -Ttext 0x1c000000 -e 0x1c000000 -shared
+#target: [check_shared_lib_support]
#error: \A[^\n]*: in function `bar':\n
#error: \(\.text\+0x1014\): unsupported branch between ISA modes\Z
#source: ../../../gas/testsuite/gas/mips/branch-addend-micromips.s
#as: -EB -64 -march=from-abi
#ld: -EB -Ttext 0x1c000000 -e 0x1c000000 -shared
+#target: [check_shared_lib_support]
#error: \A[^\n]*: in function `bar':\n
#error: \(\.text\+0x1014\): unsupported branch between ISA modes\Z
#source: ../../../gas/testsuite/gas/mips/branch-addend-micromips.s
#as: -EB -32
#ld: -EB -Ttext 0x1c000000 -e 0x1c000000 -shared
+#target: [check_shared_lib_support]
#error: \A[^\n]*: in function `bar':\n
#error: \(\.text\+0x1014\): unsupported branch between ISA modes\Z
#source: ../../../gas/testsuite/gas/mips/branch-addend.s
#as: -EB -n32 -march=from-abi
#ld: -EB -Ttext 0x1c000000 -e 0x1c000000 -shared
+#target: [check_shared_lib_support]
#error: \A[^\n]*: in function `bar':\n
#error: \(\.text\+0x1014\): unsupported branch between ISA modes\Z
#source: ../../../gas/testsuite/gas/mips/branch-addend.s
#as: -EB -64 -march=from-abi
#ld: -EB -Ttext 0x1c000000 -e 0x1c000000 -shared
+#target: [check_shared_lib_support]
#error: \A[^\n]*: in function `bar':\n
#error: \(\.text\+0x1014\): unsupported branch between ISA modes\Z
#source: ../../../gas/testsuite/gas/mips/branch-addend.s
#as: -EB -32
#ld: -EB -Ttext 0x1c000000 -e 0x1c000000 -shared
+#target: [check_shared_lib_support]
#error: \A[^\n]*: in function `bar':\n
#error: \(\.text\+0x1014\): unsupported branch between ISA modes\Z
#source: hash1.s
#ld: -shared --hash-style=sysv
#objdump: -dr
+#target: [check_shared_lib_support]
#pass
#source: hash1.s
#ld: -shared --hash-style=both
+#target: [check_shared_lib_support]
#error: .gnu.hash is incompatible with the MIPS ABI
#source: hash1.s
#ld: -shared --hash-style=gnu
+#target: [check_shared_lib_support]
#error: .gnu.hash is incompatible with the MIPS ABI
#as: -march=from-abi -KPIC -n32 -EB
#objdump: --prefix-addresses -d --show-raw-insn
#ld: -shared -melf32btsmipn32
+#target: [check_shared_lib_support]
.*: file format elf.*mips.*
#as: -march=from-abi -KPIC -64 -EB
#objdump: --prefix-addresses -d --show-raw-insn
#ld: -shared -melf64btsmip
+#target: [check_shared_lib_support]
.*: file format elf.*mips.*