]> git.ipfire.org Git - thirdparty/glibc.git/commit
aarch64: Enable GCS in dynamic linked exe
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Fri, 14 Jul 2023 14:49:11 +0000 (15:49 +0100)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Mon, 8 Jul 2024 08:41:44 +0000 (09:41 +0100)
commit01204afc0d82e3fc47a65a3f6330c09d8e7459ee
treebdeffb5b064a121d9e9641f24d4996ccabeac495
parenta289e5dea083955eefbea82062d567a5c8026388
aarch64: Enable GCS in dynamic linked exe

Use the dynamic linker start code to enable GCS in the dynamic linked
case after _dl_start returns and before _dl_start_user which marks
the point after which user code may run.

Like in the static linked case this ensures that GCS is enabled on a
top level stack frame.
sysdeps/aarch64/Makefile
sysdeps/aarch64/dl-start.S
sysdeps/aarch64/rtld-global-offsets.sym