public inbox for binutils-cvs@sourceware.org
 help / color / mirror / Atom feed
* [binutils-gdb] MIPS/LD/testsuite: Fix MIPS16 interlinking test IRIX 6 regressions
@ 2023-07-28  5:06 Maciej W. Rozycki
  0 siblings, 0 replies; only message in thread
From: Maciej W. Rozycki @ 2023-07-28  5:06 UTC (permalink / raw)
  To: bfd-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ec3205bbc6f2018c9907bfd6e6c6ae51a2e01432

commit ec3205bbc6f2018c9907bfd6e6c6ae51a2e01432
Author: Maciej W. Rozycki <macro@orcam.me.uk>
Date:   Fri Jul 28 06:00:36 2023 +0100

    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.

Diff:
---
 ld/testsuite/ld-mips-elf/mips-elf.exp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ld/testsuite/ld-mips-elf/mips-elf.exp b/ld/testsuite/ld-mips-elf/mips-elf.exp
index 7d87ffde4a1..8be2bfc7a1d 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" \

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-07-28  5:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-28  5:06 [binutils-gdb] MIPS/LD/testsuite: Fix MIPS16 interlinking test IRIX 6 regressions Maciej W. Rozycki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).