diff options
author | Florian Weimer <fweimer@redhat.com> | 2023-11-20 09:22:21 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2023-11-20 09:22:21 +0100 |
commit | 8c8eff33e4e492d95f87dd49cfdc2d4de25693eb (patch) | |
tree | 8fcad5c2a8df8baaffef8c703310e89f9827b77b /elf | |
parent | 6ae7b5f43d4b13f24606d7108d822e469a96af3d (diff) | |
download | glibc-8c8eff33e4e492d95f87dd49cfdc2d4de25693eb.tar.gz glibc-8c8eff33e4e492d95f87dd49cfdc2d4de25693eb.tar.xz glibc-8c8eff33e4e492d95f87dd49cfdc2d4de25693eb.zip |
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 <adhemerval.zanella@linaro.org>
Diffstat (limited to 'elf')
-rw-r--r-- | elf/tst-execstack.c | 7 |
1 files changed, 6 insertions, 1 deletions
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 ()); |