]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
hppa64: Skip/xfail three ld tests on hppa*64*-*-*
authorJohn David Anglin <danglin@gcc.gnu.org>
Sun, 25 Jan 2026 14:51:50 +0000 (09:51 -0500)
committerJohn David Anglin <danglin@gcc.gnu.org>
Sun, 25 Jan 2026 14:51:50 +0000 (09:51 -0500)
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.

ld/testsuite/ld-elf/readelf.exp
ld/testsuite/ld-elf/sec64k.exp
ld/testsuite/ld-elf/shared.exp

index 7e0a670762a97b271059718cd31a008c38904405..4501c7028a2f16476d6b29b67dbf67f248041779 100644 (file)
@@ -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 ""
index 724346382a1dd88fd9664b83d21d04da92f3942f..3671244d70bded21319fcd91a35927bc6846d153 100644 (file)
@@ -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.
index 2e71ed4b0cd01440d97a11d36608b9ca964f8fa8..808ad6ffdb6c1507ae340ddcdeac05991316e28d 100644 (file)
@@ -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 \