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.
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 ""
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.
# 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 \