mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-24 05:50:14 +00:00
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 <adhemerval.zanella@linaro.org>
This commit is contained in:
parent
8c8eff33e4
commit
e21aa9b9cc
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user