mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
94052ee4cc
The `mips-sgi-irix6' target only supports IRIX linker emulations, but
most JALR relaxation tests request the relevant traditional emulation
instead, causing a link failure:
./ld-new: unrecognised emulation mode: elf32btsmipn32
Supported emulations: elf32bmipn32 elf32bsmip elf64bmip
This is clearly an omission from the conversion to use the per-ABI
framework made with commit 78da84f994
("MIPS/LD/testsuite: Correct
mips-elf.exp test ABI/emul/endian arrangement"). These tests are also
endianness agnostic, which was missed in the conversion as well.
Remove the unnecessary explicit ABI and endianness options then and rely
on the per-ABI framework to get things right, removing this regression:
mips-sgi-irix6 -FAIL: MIPS relax-jalr-shared n32
ld/
* testsuite/ld-mips-elf/relax-jalr-n32-shared.d: Remove flags
related to ABI and endianness selection from the `as' and `ld'
tags.
* testsuite/ld-mips-elf/relax-jalr-n64.d: Likewise.
* testsuite/ld-mips-elf/relax-jalr-n64-shared.d: Likewise.
* testsuite/ld-mips-elf/mips-elf.exp: Remove `as' and `ld' tag
additions from the invocation of JALR relaxation tests.
25 lines
368 B
Makefile
25 lines
368 B
Makefile
#name: MIPS relax-jalr-shared n32
|
|
#source: relax-jalr.s
|
|
#as: -KPIC
|
|
#objdump: --prefix-addresses -d --show-raw-insn
|
|
#ld: -shared
|
|
#target: [check_shared_lib_support]
|
|
|
|
.*: file format elf.*mips.*
|
|
|
|
Disassembly of section \.text:
|
|
\.\.\.
|
|
\.\.\.
|
|
.* lw t9,.*
|
|
.* jalr t9
|
|
.* nop
|
|
\.\.\.
|
|
.* lw t9,.*
|
|
.* jalr t9
|
|
.* nop
|
|
\.\.\.
|
|
.* lw t9,.*
|
|
.* bal .* <__start>
|
|
.* nop
|
|
\.\.\.
|