From e21aa9b9cc6083d3b1da72c81e7a4e81662e32ba Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Mon, 20 Nov 2023 09:22:25 +0100 Subject: nptl: Link tst-execstack-threads-mod.so with -z execstack This ensures that the test still links with a linker that refuses to create an executable stack marker automatically. Reviewed-by: Adhemerval Zanella --- nptl/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'nptl') diff --git a/nptl/Makefile b/nptl/Makefile index 015295e45c..067b01ea8e 100644 --- a/nptl/Makefile +++ b/nptl/Makefile @@ -671,6 +671,7 @@ tst-exec4-ARGS = $(host-test-program-cmd) $(objpfx)tst-execstack-threads.out: $(objpfx)tst-execstack-threads-mod.so LDFLAGS-tst-execstack-threads = -Wl,-z,noexecstack +LDFLAGS-tst-execstack-threads-mod.so = -Wl,-z,execstack CFLAGS-tst-execstack-threads-mod.c += -Wno-trampolines tst-stackguard1-ARGS = --command "$(host-test-program-cmd) --child" -- cgit 1.4.1