MIPS/LD/testsuite: Update `run_dump_test' cases for non-DSO targets
Mark these `run_dump_test' cases across `ld-mips-elf/mips-elf.exp' that are run unconditionally and require shared library support for exclusion for targets that do not have such support, removing these failures: FAIL: MIPS BAL/JALX in PIC mode FAIL: microMIPS BAL/JALX in PIC mode FAIL: MIPS BAL/JALX in PIC mode (ignore branch ISA) FAIL: microMIPS BAL/JALX in PIC mode (ignore branch ISA) FAIL: ld-mips-elf/hash1a FAIL: ld-mips-elf/hash1b FAIL: ld-mips-elf/hash1c with `mipsel-ps2-elf' and `mips64el-ps2-elf' targets. Tests that are guarded with `linux_gnu' will have to be reviewed separately. ld/ * 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.
This commit is contained in:
parent
6d9dabbbc6
commit
197b262f98
24
ld/ChangeLog
24
ld/ChangeLog
@ -1,3 +1,27 @@
|
||||
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'
|
||||
|
@ -3,4 +3,5 @@
|
||||
#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
|
||||
|
@ -3,4 +3,5 @@
|
||||
#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
|
||||
|
@ -3,6 +3,7 @@
|
||||
#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.*
|
||||
|
||||
|
@ -3,4 +3,5 @@
|
||||
#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
|
||||
|
@ -3,4 +3,5 @@
|
||||
#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
|
||||
|
@ -3,6 +3,7 @@
|
||||
#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.*
|
||||
|
||||
|
@ -2,5 +2,6 @@
|
||||
#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
|
||||
|
@ -2,5 +2,6 @@
|
||||
#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
|
||||
|
@ -2,5 +2,6 @@
|
||||
#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
|
||||
|
@ -2,5 +2,6 @@
|
||||
#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
|
||||
|
@ -2,5 +2,6 @@
|
||||
#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
|
||||
|
@ -2,5 +2,6 @@
|
||||
#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
|
||||
|
@ -1,4 +1,5 @@
|
||||
#source: hash1.s
|
||||
#ld: -shared --hash-style=sysv
|
||||
#objdump: -dr
|
||||
#target: [check_shared_lib_support]
|
||||
#pass
|
||||
|
@ -1,3 +1,4 @@
|
||||
#source: hash1.s
|
||||
#ld: -shared --hash-style=both
|
||||
#target: [check_shared_lib_support]
|
||||
#error: .gnu.hash is incompatible with the MIPS ABI
|
||||
|
@ -1,3 +1,4 @@
|
||||
#source: hash1.s
|
||||
#ld: -shared --hash-style=gnu
|
||||
#target: [check_shared_lib_support]
|
||||
#error: .gnu.hash is incompatible with the MIPS ABI
|
||||
|
@ -3,6 +3,7 @@
|
||||
#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.*
|
||||
|
||||
|
@ -3,6 +3,7 @@
|
||||
#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.*
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user