aboutsummaryrefslogtreecommitdiff
path: root/support/Makefile
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-03-10 12:26:29 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-07-08 13:48:06 -0300
commitae8c243d2473bdfc3c0f9c6b46e6dffb5a28725c (patch)
tree1c038848c39b2480fe61c8bf03c565e782e813f3 /support/Makefile
parent79969f41a7caf9a503a04b78653db971918afa26 (diff)
downloadglibc-ae8c243d2473bdfc3c0f9c6b46e6dffb5a28725c.tar
glibc-ae8c243d2473bdfc3c0f9c6b46e6dffb5a28725c.tar.gz
glibc-ae8c243d2473bdfc3c0f9c6b46e6dffb5a28725c.tar.bz2
glibc-ae8c243d2473bdfc3c0f9c6b46e6dffb5a28725c.zip
support: Add support_stack_alloc
The code to allocate a stack from xsigstack is refactored so it can be more generic. The new support_stack_alloc() also set PROT_EXEC if DEFAULT_STACK_PERMS has PF_X. This is required on some architectures (hppa for instance) and trying to access the rtld global from testsuite will require more intrusive refactoring in the ldsodefs.h header. Checked on x86_64-linux-gnu and i686-linux-gnu. I also ran tst-xsigstack on both hppa and ia64.
Diffstat (limited to 'support/Makefile')
-rw-r--r--support/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/support/Makefile b/support/Makefile
index 5c69f0de4b..a462781718 100644
--- a/support/Makefile
+++ b/support/Makefile
@@ -39,6 +39,7 @@ libsupport-routines = \
resolv_response_context_free \
resolv_test \
set_fortify_handler \
+ support_stack_alloc \
support-xfstat \
support-xfstat-time64 \
support-xstat \