aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2024-07-10 16:46:21 -0700
committerH.J. Lu <hjl.tools@gmail.com>2024-07-10 16:50:52 -0700
commitaa047105e03f6db375f4f1db257a28572e3c6427 (patch)
tree297e1303c7a4baa1af8d67046add0d0c0d3fe870 /ld/testsuite
parent762c38d552abbfed97c349c5e7c8ef34119b2f5e (diff)
downloadgdb-aa047105e03f6db375f4f1db257a28572e3c6427.zip
gdb-aa047105e03f6db375f4f1db257a28572e3c6427.tar.gz
gdb-aa047105e03f6db375f4f1db257a28572e3c6427.tar.bz2
x86-64: Skip -z mark-plt tests on MUSL
Skip -z mark-plt tests, which are specific to glibc, on MUSL. PR ld/31970 * ld/testsuite/ld-x86-64/x86-64.exp: Skip -z mark-plt tests on MUSL. Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'ld/testsuite')
-rw-r--r--ld/testsuite/ld-x86-64/x86-64.exp7
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/x86-64.exp b/ld/testsuite/ld-x86-64/x86-64.exp
index dddac43..57a1cc4 100644
--- a/ld/testsuite/ld-x86-64/x86-64.exp
+++ b/ld/testsuite/ld-x86-64/x86-64.exp
@@ -2274,6 +2274,13 @@ run_dump_test "ibt-plt-3a-x32"
run_dump_test "ibt-plt-3b-x32"
run_dump_test "ibt-plt-3c-x32"
run_dump_test "ibt-plt-3d-x32"
+
+# Skip -z mark-plt tests on MUSL.
+if { [istarget "x86_64-*-musl*"]} {
+ set ASFLAGS "$saved_ASFLAGS"
+ return
+}
+
run_dump_test "mark-plt-1a"
run_dump_test "mark-plt-1b"
run_dump_test "mark-plt-1c"