From: H.J. Lu Date: Wed, 10 Jul 2024 23:46:21 +0000 (-0700) Subject: x86-64: Skip -z mark-plt tests on MUSL X-Git-Tag: binutils-2_43~161 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=aa047105e03f6db375f4f1db257a28572e3c6427;p=thirdparty%2Fbinutils-gdb.git 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 --- 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"