]> git.ipfire.org Git - thirdparty/glibc.git/commit
aarch64: Enable GCS in static linked exe
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Thu, 13 Jul 2023 06:22:44 +0000 (07:22 +0100)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Mon, 8 Jul 2024 08:41:44 +0000 (09:41 +0100)
commita289e5dea083955eefbea82062d567a5c8026388
tree999bbde7e12dffe8d98598bf3fb93f05344c5fd7
parent1e304d6c78598dc293b4c991c6a87626713cb12c
aarch64: Enable GCS in static linked exe

Use the ARCH_SETUP_TLS hook to enable GCS in the static linked case.
The system call must be inlined and then GCS is enabled on a top
level stack frame that does not return and has no exception handlers
above it.
sysdeps/unix/sysv/linux/aarch64/libc-start.h [new file with mode: 0644]