aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorA. Wilcox <awilfox@adelielinux.org>2023-10-05 14:26:32 +0100
committerNick Clifton <nickc@redhat.com>2023-10-05 14:26:32 +0100
commit8838ac1c9e05baa269fb50ebaa3318925b4df55b (patch)
tree109717531db663eafdd9c37a61cce2dcb12edb4d /ld
parent99b06f8a80cf81f34c5f9b3f8c0e69246f792317 (diff)
downloadgdb-8838ac1c9e05baa269fb50ebaa3318925b4df55b.zip
gdb-8838ac1c9e05baa269fb50ebaa3318925b4df55b.tar.gz
gdb-8838ac1c9e05baa269fb50ebaa3318925b4df55b.tar.bz2
Fix: ld testsuite: glibc-specific DT_RELR tests should not be run on musl systems
PR 30917 * testsuite/ld-elf/dt-relr.exp: Skip for MUSL targets.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/testsuite/ld-elf/dt-relr.exp4
2 files changed, 9 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index a9c87bd..4009d2c 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,10 @@
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
* testsuite/ld-shared/shared.exp: Add XFAILs for tests that fail
with the MUSL library.
diff --git a/ld/testsuite/ld-elf/dt-relr.exp b/ld/testsuite/ld-elf/dt-relr.exp
index f7d9901..c8d937b 100644
--- a/ld/testsuite/ld-elf/dt-relr.exp
+++ b/ld/testsuite/ld-elf/dt-relr.exp
@@ -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" \