From 8c8eff33e4e492d95f87dd49cfdc2d4de25693eb Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Mon, 20 Nov 2023 09:22:21 +0100 Subject: nptl: Rename tst-execstack to tst-execstack-threads So that the test is harder to confuse with elf/tst-execstack (although the tests are supposed to be the same). Reviewed-by: Adhemerval Zanella --- nptl/Makefile | 10 +++++----- nptl/tst-execstack-mod.c | 1 - nptl/tst-execstack-threads-mod.c | 1 + nptl/tst-execstack-threads.c | 2 ++ nptl/tst-execstack.c | 2 -- 5 files changed, 8 insertions(+), 8 deletions(-) delete mode 100644 nptl/tst-execstack-mod.c create mode 100644 nptl/tst-execstack-threads-mod.c create mode 100644 nptl/tst-execstack-threads.c delete mode 100644 nptl/tst-execstack.c (limited to 'nptl') diff --git a/nptl/Makefile b/nptl/Makefile index d969419af7..015295e45c 100644 --- a/nptl/Makefile +++ b/nptl/Makefile @@ -466,7 +466,7 @@ tests-internal += \ tst-tls5 \ # tests-internal ifeq ($(have-z-execstack),yes) -tests += tst-execstack +tests += tst-execstack-threads endif endif @@ -474,7 +474,7 @@ modules-names = \ tst-audit-threads-mod1 \ tst-audit-threads-mod2 \ tst-compat-forwarder-mod \ - tst-execstack-mod \ + tst-execstack-threads-mod \ tst-stack4mod \ tst-tls3mod \ tst-tls5mod \ @@ -669,9 +669,9 @@ endif tst-exec4-ARGS = $(host-test-program-cmd) -$(objpfx)tst-execstack.out: $(objpfx)tst-execstack-mod.so -LDFLAGS-tst-execstack = -Wl,-z,noexecstack -CFLAGS-tst-execstack-mod.c += -Wno-trampolines +$(objpfx)tst-execstack-threads.out: $(objpfx)tst-execstack-threads-mod.so +LDFLAGS-tst-execstack-threads = -Wl,-z,noexecstack +CFLAGS-tst-execstack-threads-mod.c += -Wno-trampolines tst-stackguard1-ARGS = --command "$(host-test-program-cmd) --child" tst-stackguard1-static-ARGS = --command "$(objpfx)tst-stackguard1-static --child" diff --git a/nptl/tst-execstack-mod.c b/nptl/tst-execstack-mod.c deleted file mode 100644 index 5b9812c258..0000000000 --- a/nptl/tst-execstack-mod.c +++ /dev/null @@ -1 +0,0 @@ -#include "../elf/tst-execstack-mod.c" diff --git a/nptl/tst-execstack-threads-mod.c b/nptl/tst-execstack-threads-mod.c new file mode 100644 index 0000000000..5b9812c258 --- /dev/null +++ b/nptl/tst-execstack-threads-mod.c @@ -0,0 +1 @@ +#include "../elf/tst-execstack-mod.c" diff --git a/nptl/tst-execstack-threads.c b/nptl/tst-execstack-threads.c new file mode 100644 index 0000000000..6e45c1a5e6 --- /dev/null +++ b/nptl/tst-execstack-threads.c @@ -0,0 +1,2 @@ +#define USE_PTHREADS 1 +#include "../elf/tst-execstack.c" diff --git a/nptl/tst-execstack.c b/nptl/tst-execstack.c deleted file mode 100644 index 6e45c1a5e6..0000000000 --- a/nptl/tst-execstack.c +++ /dev/null @@ -1,2 +0,0 @@ -#define USE_PTHREADS 1 -#include "../elf/tst-execstack.c" -- cgit 1.4.1