[binutils-gdb/binutils-2_42-branch] x86-64: Skip -z mark-plt tests on MUSL
Sam James
sjames@sourceware.org
Sun Jul 14 15:43:00 GMT 2024
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=29ae8b8ea71057f152af388a39fd667a43b95549
commit 29ae8b8ea71057f152af388a39fd667a43b95549
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Wed Jul 10 16:46:21 2024 -0700
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>
(cherry picked from commit aa047105e03f6db375f4f1db257a28572e3c6427)
Diff:
---
ld/testsuite/ld-x86-64/x86-64.exp | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/ld/testsuite/ld-x86-64/x86-64.exp b/ld/testsuite/ld-x86-64/x86-64.exp
index e370f393a7a..2a40f0b095b 100644
--- a/ld/testsuite/ld-x86-64/x86-64.exp
+++ b/ld/testsuite/ld-x86-64/x86-64.exp
@@ -2250,6 +2250,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"
More information about the Binutils-cvs
mailing list