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 --- elf/tst-execstack.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'elf/tst-execstack.c') diff --git a/elf/tst-execstack.c b/elf/tst-execstack.c index 7e898b4f58..560b353918 100644 --- a/elf/tst-execstack.c +++ b/elf/tst-execstack.c @@ -137,7 +137,12 @@ do_test (void) #endif /* Loading this module should force stacks to become executable. */ - void *h = dlopen ("tst-execstack-mod.so", RTLD_LAZY); +#if USE_PTHREADS + const char *soname = "tst-execstack-threads-mod.so"; +#else + const char *soname = "tst-execstack-mod.so"; +#endif + void *h = dlopen (soname, RTLD_LAZY); if (h == NULL) { printf ("cannot load: %s\n", dlerror ()); -- cgit v1.2.3