]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
ld: Limit PR ld/25617 tests to glibc targets
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 17 Jul 2025 12:34:22 +0000 (05:34 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 18 Jul 2025 10:02:54 +0000 (03:02 -0700)
Since PR ld/25617 tests expects glibc specific features, limit PR ld/25617
tests to glibc targets.

PR ld/33169
* testsuite/ld-elf/no-section-header.exp: Return if not glibc
targets.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
ld/testsuite/ld-elf/no-section-header.exp

index 2a4575baf9c7b39608788a8a1b3a54e9c6e3ef77..7461fddc47bb6783f98ffa70e815d9252f6237e5 100644 (file)
@@ -21,7 +21,7 @@
 # Written by H.J. Lu (hongjiu.lu@intel.com)
 #
 
-if { ![is_elf_format] } {
+if { ![istarget *-*-gnu*] } {
     return
 }