[binutils-gdb] ld: Limit PR ld/25617 tests to glibc targets
H.J. Lu
hjl@sourceware.org
Fri Jul 18 10:05:39 GMT 2025
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=cd47b8fa56726c0f544f03588cbfaf32307215cd
commit cd47b8fa56726c0f544f03588cbfaf32307215cd
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Thu Jul 17 05:34:22 2025 -0700
ld: Limit PR ld/25617 tests to glibc targets
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>
Diff:
---
ld/testsuite/ld-elf/no-section-header.exp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ld/testsuite/ld-elf/no-section-header.exp b/ld/testsuite/ld-elf/no-section-header.exp
index 2a4575baf9c..7461fddc47b 100644
--- a/ld/testsuite/ld-elf/no-section-header.exp
+++ b/ld/testsuite/ld-elf/no-section-header.exp
@@ -21,7 +21,7 @@
# Written by H.J. Lu (hongjiu.lu@intel.com)
#
-if { ![is_elf_format] } {
+if { ![istarget *-*-gnu*] } {
return
}
More information about the Binutils-cvs
mailing list