[binutils-gdb] hppa64: Skip/xfail three ld tests on hppa*64*-*-*
John David Anglin
danglin@sourceware.org
Sun Jan 25 14:52:36 GMT 2026
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=4ad5857a5098fadac6a483de34a4cf17d2f61143
commit 4ad5857a5098fadac6a483de34a4cf17d2f61143
Author: John David Anglin <danglin@gcc.gnu.org>
Date: Sun Jan 25 09:51:50 2026 -0500
hppa64: Skip/xfail three ld tests on hppa*64*-*-*
The ver_def test fails because of the __text_seg and __data_seg
symbols in the dynamic symbol table.
The sec64k tests creates too many sections and fails.
The linux target doesn't currently have .data.rel.ro and fails the
regexp test for pr20995.
2026-01-24 John David Anglin <danglin@gcc.gnu.org>
ld/testsuite/ChangeLog:
* ld-elf/readelf.exp: Skip ver_def on hppa*64*-*-*.
* ld-elf/sec64k.exp: Likewise.
* ld-elf/shared.exp: xfail pr20995 on all OSes.
Diff:
---
ld/testsuite/ld-elf/readelf.exp | 5 +++++
ld/testsuite/ld-elf/sec64k.exp | 5 +++++
ld/testsuite/ld-elf/shared.exp | 2 +-
3 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/ld/testsuite/ld-elf/readelf.exp b/ld/testsuite/ld-elf/readelf.exp
index 7e0a670762a..4501c7028a2 100644
--- a/ld/testsuite/ld-elf/readelf.exp
+++ b/ld/testsuite/ld-elf/readelf.exp
@@ -30,6 +30,11 @@ if ![is_elf_format] {
return
}
+# ver_def fails because of __text_seg and __data_seg in .gnu.version.
+if [istarget "hppa*64*-*-*"] {
+ return
+}
+
# This target requires a non-default emulation for successful shared
# library/executable builds.
set LFLAGS ""
diff --git a/ld/testsuite/ld-elf/sec64k.exp b/ld/testsuite/ld-elf/sec64k.exp
index 724346382a1..3671244d70b 100644
--- a/ld/testsuite/ld-elf/sec64k.exp
+++ b/ld/testsuite/ld-elf/sec64k.exp
@@ -41,6 +41,11 @@ if {[istarget "ft32-*-*"]
return
}
+# Test creates too many sections on hppa64.
+if [istarget "hppa*64*-*-*"] {
+ return
+}
+
# Test >64k sections, with and without -r. First, create the assembly
# files. Have a relocation to another section and one within the local
# section.
diff --git a/ld/testsuite/ld-elf/shared.exp b/ld/testsuite/ld-elf/shared.exp
index 2e71ed4b0cd..808ad6ffdb6 100644
--- a/ld/testsuite/ld-elf/shared.exp
+++ b/ld/testsuite/ld-elf/shared.exp
@@ -467,7 +467,7 @@ run_ld_link_tests [list \
# These targets don't copy dynamic variables into .bss.
setup_xfail "alpha-*-*" "bfin-*-*" "ia64-*-*" "xtensa-*-*" *loongarch*-*-*
# or don't have .data.rel.ro
-setup_xfail "hppa*64*-*-hpux*" "tic6x-*-*" "kvx*-*-*"
+setup_xfail "hppa*64*-*-*" "tic6x-*-*" "kvx*-*-*"
# or complain about relocs in read-only sections
setup_xfail frv-*-* lm32-*-*
run_ld_link_tests [list \
More information about the Binutils-cvs
mailing list