From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2178) id 9B05A3882165; Mon, 20 Nov 2023 08:42:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9B05A3882165 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1700469749; bh=sagbeF2P/XlTCOz3n2jjxu2c9L79JpxoP24mZLcTcyw=; h=From:To:Subject:Date:From; b=hOHcAL0GvCYqlFssZjiP/cvat9VMgdRu5f6Vs2ZXIIZPmwEndxNztkWrB49+iotb3 iM7lbbi3PyQafeqrzphV0nvFivphb5hmbqFCAHp4q4XEjAo/MBHhxSB8Z9773847WP ObZsVw9HYkjhBE+KSGNAMY6pwEZU1IZFo03JkYOo= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Florian Weimer To: glibc-cvs@sourceware.org Subject: [glibc] nptl: Link tst-execstack-threads-mod.so with -z execstack X-Act-Checkin: glibc X-Git-Author: Florian Weimer X-Git-Refname: refs/heads/master X-Git-Oldrev: 8c8eff33e4e492d95f87dd49cfdc2d4de25693eb X-Git-Newrev: e21aa9b9cc6083d3b1da72c81e7a4e81662e32ba Message-Id: <20231120084229.9B05A3882165@sourceware.org> Date: Mon, 20 Nov 2023 08:42:29 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=e21aa9b9cc6083d3b1da72c81e7a4e81662e32ba commit e21aa9b9cc6083d3b1da72c81e7a4e81662e32ba Author: Florian Weimer 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 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"