aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/relax-jalr-n64.d
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@orcam.me.uk>2023-07-28 06:00:36 +0100
committerMaciej W. Rozycki <macro@orcam.me.uk>2023-07-28 06:00:36 +0100
commit94052ee4ccf0ac64b5f55da59878f13d567ef3cf (patch)
treef9a2f48c497e78e07699f576552d26abff14ae4f /ld/testsuite/ld-mips-elf/relax-jalr-n64.d
parent67e789ae32fadc540c10839f08ad53ff01e2d732 (diff)
downloadbinutils-94052ee4ccf0ac64b5f55da59878f13d567ef3cf.zip
binutils-94052ee4ccf0ac64b5f55da59878f13d567ef3cf.tar.gz
binutils-94052ee4ccf0ac64b5f55da59878f13d567ef3cf.tar.bz2
MIPS/LD/testsuite: Fix JALR relaxation test failure with IRIX 6
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 78da84f99405 ("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.
Diffstat (limited to 'ld/testsuite/ld-mips-elf/relax-jalr-n64.d')
-rw-r--r--ld/testsuite/ld-mips-elf/relax-jalr-n64.d3
1 files changed, 1 insertions, 2 deletions
diff --git a/ld/testsuite/ld-mips-elf/relax-jalr-n64.d b/ld/testsuite/ld-mips-elf/relax-jalr-n64.d
index e3518ba..71e0f35 100644
--- a/ld/testsuite/ld-mips-elf/relax-jalr-n64.d
+++ b/ld/testsuite/ld-mips-elf/relax-jalr-n64.d
@@ -1,8 +1,7 @@
#name: MIPS relax-jalr n64
#source: relax-jalr.s
-#as: -march=from-abi -KPIC -64 -EB
+#as: -KPIC
#objdump: --prefix-addresses -d --show-raw-insn
-#ld: -melf64btsmip
.*: file format elf.*mips.*