[binutils-gdb] ld: xfail pr29655 on SPARC [PR34151]

Rainer Orth via Binutils-cvs <[email protected]> Tue, 16 Jun 2026 07:06:14 +0000 (GMT)
Newsgroups gmane.comp.gnu.binutils.cvs
Message-ID <[email protected]>
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a3ccc1836915eb694ac0f9b97ebb345bf7c83597

commit a3ccc1836915eb694ac0f9b97ebb345bf7c83597
Author: Rainer Orth <[email protected]>
Date:   Tue Jun 16 09:05:44 2026 +0200

    ld: xfail pr29655 on SPARC [PR34151]
    
    As described in PR ld/34151, the recent "Build pr29655" test FAILs on
    SPARC, both Solaris and Linux.
    
    Until this is fixed, this patch xfail's the test.
    
    Tested on sparc{v9,}-sun-solaris2.11, sparc{64,}-unknown-linux-gnu, and
    amd64-pc-solaris2.11.
    
    2026-06-14  Rainer Orth  <[email protected]>
    
            ld:
            * testsuite/ld-elf/shared.exp (Build pr29655): xfail on SPARC.

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

diff --git a/ld/testsuite/ld-elf/shared.exp b/ld/testsuite/ld-elf/shared.exp
index 94d9c82fe8c..a4437162e3a 100644
--- a/ld/testsuite/ld-elf/shared.exp
+++ b/ld/testsuite/ld-elf/shared.exp
@@ -1878,6 +1878,8 @@ run_cc_link_tests [list \
 # PR 29655 (cont.): Check that in PIC code linked as PDE taking the address
 # of a function defined in a DSO results in the function address (from GOT)
 # and not the "canonical PLT" address from the PDE.
+# PR ld/34151
+setup_xfail sparc*-*-*
 run_cc_link_tests [list \
     [list \
 	"Build pr29655" \