diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-03-25 08:58:03 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2024-04-17 16:12:40 -0300 |
commit | 6272e416053443fcb4b2220f4c8779286d6c60fe (patch) | |
tree | f414bb0b1b9b1916fc842f9a838a9dd2086bf67a /nptl | |
parent | 8eb85e1f8ac6ec5544e681d3d1e880e442b37310 (diff) | |
download | glibc-6272e416053443fcb4b2220f4c8779286d6c60fe.zip glibc-6272e416053443fcb4b2220f4c8779286d6c60fe.tar.gz glibc-6272e416053443fcb4b2220f4c8779286d6c60fe.tar.bz2 |
Use check tests with trampolines iff compiler supports it
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/nptl/Makefile b/nptl/Makefile index b3f8af2..a13a8ea 100644 --- a/nptl/Makefile +++ b/nptl/Makefile @@ -466,7 +466,7 @@ tests-internal += \ tst-tls3-malloc \ tst-tls5 \ # tests-internal -ifeq ($(have-z-execstack),yes) +ifeq ($(have-z-execstack)$(have-cc-trampoline),yesyes) tests += tst-execstack-threads endif endif @@ -475,7 +475,6 @@ modules-names = \ tst-audit-threads-mod1 \ tst-audit-threads-mod2 \ tst-compat-forwarder-mod \ - tst-execstack-threads-mod \ tst-stack4mod \ tst-tls3mod \ tst-tls5mod \ @@ -486,6 +485,11 @@ modules-names = \ tst-tls5mode \ tst-tls5modf \ # modules-names +ifeq ($(have-z-execstack)$(have-cc-trampoline),yesyes) +modules-names += \ + tst-execstack-threads-mod \ + # modules-names +endif extra-test-objs += \ $(addsuffix .os,$(strip $(modules-names))) \ tst-cleanup4aux.o \ |