public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] nptl: Link tst-execstack-threads-mod.so with -z execstack
@ 2023-11-20  8:42 Florian Weimer
  0 siblings, 0 replies; only message in thread
From: Florian Weimer @ 2023-11-20  8:42 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=e21aa9b9cc6083d3b1da72c81e7a4e81662e32ba

commit e21aa9b9cc6083d3b1da72c81e7a4e81662e32ba
Author: Florian Weimer <fweimer@redhat.com>
Date:   Mon Nov 20 09:22:25 2023 +0100

    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>

Diff:
---
 nptl/Makefile | 1 +
 1 file changed, 1 insertion(+)

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"

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

only message in thread, other threads:[~2023-11-20  8:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-20  8:42 [glibc] nptl: Link tst-execstack-threads-mod.so with -z execstack Florian Weimer

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).