diff options
author | Florian Weimer <fweimer@redhat.com> | 2023-11-20 09:22:25 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2023-11-20 09:22:25 +0100 |
commit | e21aa9b9cc6083d3b1da72c81e7a4e81662e32ba (patch) | |
tree | e534610545acd073fe3192a2e84d1cd3ca7f6ffe /nptl | |
parent | 8c8eff33e4e492d95f87dd49cfdc2d4de25693eb (diff) | |
download | glibc-e21aa9b9cc6083d3b1da72c81e7a4e81662e32ba.zip glibc-e21aa9b9cc6083d3b1da72c81e7a4e81662e32ba.tar.gz glibc-e21aa9b9cc6083d3b1da72c81e7a4e81662e32ba.tar.bz2 |
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>
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nptl/Makefile b/nptl/Makefile index 015295e..067b01e 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" |