mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-24 12:35:55 +08:00
197b262f98
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.
24 lines
831 B
Makefile
24 lines
831 B
Makefile
#name: MIPS BAL/JALX in PIC mode (ignore branch ISA)
|
|
#source: ../../../gas/testsuite/gas/mips/branch-addend.s
|
|
#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.*
|
|
|
|
Disassembly of section \.text:
|
|
\.\.\.
|
|
[0-9a-f]+ <[^>]*> 0000 02d0 not zero,zero
|
|
[0-9a-f]+ <[^>]*> 001f 0f3c jr ra
|
|
[0-9a-f]+ <[^>]*> 0000 02d0 not zero,zero
|
|
[0-9a-f]+ <[^>]*> 0000 0000 nop
|
|
[0-9a-f]+ <[^>]*> 00000027 nor zero,zero,zero
|
|
[0-9a-f]+ <[^>]*> 04117ffa bal 0*1c021000 <.*>
|
|
[0-9a-f]+ <[^>]*> 00000027 nor zero,zero,zero
|
|
[0-9a-f]+ <[^>]*> 04117ffc bal 0*1c021010 <.*>
|
|
[0-9a-f]+ <[^>]*> 00000027 nor zero,zero,zero
|
|
[0-9a-f]+ <[^>]*> 03e00009 jalr zero,ra
|
|
[0-9a-f]+ <[^>]*> 00000027 nor zero,zero,zero
|
|
\.\.\.
|