Fix: ld testsuite: glibc-specific DT_RELR tests should not be run on musl systems
authorA. Wilcox <awilfox@adelielinux.org>
Thu, 5 Oct 2023 13:26:32 +0000 (14:26 +0100)
committerNick Clifton <nickc@redhat.com>
Thu, 5 Oct 2023 13:26:32 +0000 (14:26 +0100)
  PR 30917
  * testsuite/ld-elf/dt-relr.exp: Skip for MUSL targets.

ld/ChangeLog
ld/testsuite/ld-elf/dt-relr.exp

index a9c87bd1cf4b3b2f883bb947e990c8d96b94af4f..4009d2c79e0e13b0dbfa5d9997e68c0da4f8592a 100644 (file)
@@ -1,3 +1,8 @@
+2023-10-05  A. Wilcox  <awilfox@adelielinux.org>w
+
+       PR 30917
+       * testsuite/ld-elf/dt-relr.exp: Skip for MUSL targets.
+
 2023-10-05  A. Wilcox  <awilfox@adelielinux.org>w
 
        PR 30918
index f7d9901c071217d73a9842ad43bec952fdb0ef41..c8d937ba4d09c62e4fbc5f08093c1ea0abf70354 100644 (file)
@@ -23,6 +23,10 @@ if { ![supports_dt_relr] } {
     return
 }
 
+if { [istarget *-*-musl*] } {
+    return
+}
+
 run_cc_link_tests [list \
     [list \
        "Build dt-relr-glibc-1a.so" \