public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] x86-64: Skip -z mark-plt tests on MUSL
@ 2024-07-10 23:46 H.J. Lu
  0 siblings, 0 replies; only message in thread
From: H.J. Lu @ 2024-07-10 23:46 UTC (permalink / raw)
  To: binutils

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>
---
 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 dddac4375e1..57a1cc44e2c 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"
-- 
2.45.2


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-07-10 23:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-10 23:46 [PATCH] x86-64: Skip -z mark-plt tests on MUSL H.J. Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).