aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/aarch64/Makefile
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2024-08-28 11:21:19 +0100
committerYury Khrustalev <yury.khrustalev@arm.com>2025-01-20 09:36:19 +0000
commit3d8da0d91b0998855c1da14180078d1379442d32 (patch)
tree2ebb968597a2070fa58c56f14447a2e061571eac /sysdeps/aarch64/Makefile
parentd3df351338ce275b6c0fd9cb1c01a7d8eceedb47 (diff)
downloadglibc-3d8da0d91b0998855c1da14180078d1379442d32.tar.xz
glibc-3d8da0d91b0998855c1da14180078d1379442d32.zip
aarch64: Add GCS user-space allocation logic
Allocate GCS based on the stack size, this can be used for coroutines (makecontext) and thread creation (if the kernel allows user allocated GCS). Reviewed-by: Wilco Dijkstra <Wilco.Dijkstra@arm.com>
Diffstat (limited to 'sysdeps/aarch64/Makefile')
-rw-r--r--sysdeps/aarch64/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/aarch64/Makefile b/sysdeps/aarch64/Makefile
index 74479604f2..4b7f8a5c07 100644
--- a/sysdeps/aarch64/Makefile
+++ b/sysdeps/aarch64/Makefile
@@ -71,7 +71,8 @@ sysdep_headers += sys/ifunc.h
sysdep_routines += \
__mtag_tag_zero_region \
__mtag_tag_region \
- __arm_za_disable
+ __arm_za_disable \
+ __alloc_gcs
tests += \
tst-sme-jmp