aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf
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
commitec3205bbc6f2018c9907bfd6e6c6ae51a2e01432 (patch)
tree1494e00c20dfc7e94b0c1b62b655b1e162410d92 /ld/testsuite/ld-mips-elf
parent3c8ed624caf3317b2155a8c00a7af6a8bb6a3c10 (diff)
downloadfsf-binutils-gdb-ec3205bbc6f2018c9907bfd6e6c6ae51a2e01432.zip
fsf-binutils-gdb-ec3205bbc6f2018c9907bfd6e6c6ae51a2e01432.tar.gz
fsf-binutils-gdb-ec3205bbc6f2018c9907bfd6e6c6ae51a2e01432.tar.bz2
MIPS/LD/testsuite: Fix MIPS16 interlinking test IRIX 6 regressions
IRIX 6 does not have MIPS16 stub section support in its n32 linker scripts, causing such input sections to be propagated to the respective output sections rather than `.text', causing dump pattern mismatches. Expect IRIX 6 to fail with n32 testing then, removing this regression: mips-sgi-irix6 -FAIL: MIPS16 interlinking for local functions 1 (n32) We may choose to update IRIX 6 n32 linker scripts sometime, as it seems a harmless change. ld/ * testsuite/ld-mips-elf/mips-elf.exp: Expect IRIX 6 to fail with n32 `mips16-local-stubs-1' testing.
Diffstat (limited to 'ld/testsuite/ld-mips-elf')
-rw-r--r--ld/testsuite/ld-mips-elf/mips-elf.exp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ld/testsuite/ld-mips-elf/mips-elf.exp b/ld/testsuite/ld-mips-elf/mips-elf.exp
index 7d87ffd..8be2bfc 100644
--- a/ld/testsuite/ld-mips-elf/mips-elf.exp
+++ b/ld/testsuite/ld-mips-elf/mips-elf.exp
@@ -1048,7 +1048,8 @@ if { $has_abi(o32) } {
}
run_dump_test_o32 "mips16-local-stubs-1"
-run_dump_test_n32 "mips16-local-stubs-1" [list [list name (n32)]]
+run_dump_test_n32 "mips16-local-stubs-1" [list [list name (n32)] \
+ [list xfail *-*-irix6*]]
set mips16_fp_stub_test [list \
[list "Floating-point stub for mips16 functions" \