glibc/sysdeps/unix/sysv/linux/aarch64
Yury Khrustalev bc4bc1650b aarch64: make GCS configure checks aarch64-only
We only need to enable GCS tests on AArch64 targets, however previously
the configure checks for GCS support in compiler and linker were added
for all targets which was not efficient.

To enable tests for GCS we need 4 things to be true:

 - Compiler supports GCS branch protection.
 - Test compiler supports GCS branch protection.
 - Linker supports GCS marking of binaries.
 - The CRT objects provided by the toolchain have GCS marking.

To check for the latter, we add new macro to aclocal.m4 that allows to
grep output from readelf.

We check all four and then put the result in one make variable to
simplify checks in makefiles.

Reviewed-by: Wilco Dijkstra  <Wilco.Dijkstra@arm.com>
2025-11-26 13:50:15 +00:00
..
bits Add new AArch64 HWCAP3 definitions from Linux 6.17 to bits/hwcap.h 2025-11-18 10:35:32 -03:00
sys misc: Fix several typos 2025-10-10 14:52:40 +01:00
Implies
Makefile aarch64: make GCS configure checks aarch64-only 2025-11-26 13:50:15 +00:00
Versions
arch-pkey.h
arch-syscall.h Update syscall lists for Linux 6.17 2025-11-05 07:15:52 -03:00
c++-types.data
clone.S aarch64: clear ZA state of SME before clone and clone3 syscalls 2025-10-14 09:42:46 +01:00
clone3.S aarch64: clear ZA state of SME before clone and clone3 syscalls 2025-10-14 09:42:46 +01:00
configure
configure.ac
cpu-features.c AArch64: Avoid memset ifunc in cpu-features.c [BZ #33112] 2025-06-30 13:17:38 +00:00
dl-cache.h AArch64: Remove LP64 and ILP32 ifdefs 2025-02-24 14:20:29 +00:00
dl-procinfo.c Remove unused dl-procinfo.h 2025-02-28 16:55:18 +00:00
dl-procruntime.c
getcontext.S AArch64: Remove PTR_REG defines 2025-02-24 14:16:55 +00:00
gettimeofday.c
ioctl.S
kernel-features.h
kernel_rt_sigframe.h
ld.abilist
libBrokenLocale.abilist
libanl.abilist
libc-start.h aarch64: Process gnu properties in static exe 2025-01-20 09:36:19 +00:00
libc.abilist malloc: add free_sized and free_aligned_sized from C23 2025-11-19 13:47:53 -03:00
libc_malloc_debug.abilist malloc: add free_sized and free_aligned_sized from C23 2025-11-19 13:47:53 -03:00
libc_sigaction.c
libdl.abilist
libm.abilist Change fromfp functions to return floating types following C23 (bug 28327) 2025-11-13 00:04:21 +00:00
libmvec.abilist AArch64: Implement AdvSIMD and SVE log10p1(f) routines 2025-09-27 12:45:59 +00:00
libnsl.abilist
libpthread.abilist
libresolv.abilist
librt.abilist
libthread_db.abilist
libutil.abilist
localplt.data
makecontext.c aarch64: GCS: use internal struct in __alloc_gcs 2025-06-18 09:37:13 +01:00
pkey_get.c
pkey_set.c
pointer_guard.h AArch64: Cleanup pointer mangling 2025-02-24 14:17:57 +00:00
readelflib.c
send.c
setcontext.S aarch64: define macro for calling __libc_arm_za_disable 2025-10-14 09:42:46 +01:00
shlib-versions
sigcontextinfo.h
single-thread.h
swapcontext.S AArch64: Cleanup PAC and BTI 2025-05-19 15:35:32 +00:00
syscall.S
syscall_cancel.S
sysconf.c
sysdep.c
sysdep.h aarch64: fix cfi directives around __libc_arm_za_disable 2025-10-31 09:48:47 +00:00
tst-aarch64-pkey.c Fix tst-aarch64-pkey to handle ENOSPC as not supported 2025-02-15 11:08:43 +01:00
tst-gcs-abort.sh aarch64: Add tests for Guarded Control Stack 2025-02-21 16:08:00 +00:00
tst-gcs-disabled-static.c aarch64: Add tests for Guarded Control Stack 2025-02-21 16:08:00 +00:00
tst-gcs-disabled.c aarch64: Add tests for Guarded Control Stack 2025-02-21 16:08:00 +00:00
tst-gcs-dlopen-disabled.c aarch64: Add GCS tests for dlopen 2025-02-21 16:10:44 +00:00
tst-gcs-dlopen-enforced.c aarch64: Add GCS tests for dlopen 2025-02-21 16:10:44 +00:00
tst-gcs-dlopen-optional-off.c aarch64: Add GCS tests for dlopen 2025-02-21 16:10:44 +00:00
tst-gcs-dlopen-optional-on.c aarch64: Add GCS tests for dlopen 2025-02-21 16:10:44 +00:00
tst-gcs-dlopen-override.c aarch64: Add GCS tests for dlopen 2025-02-21 16:10:44 +00:00
tst-gcs-dlopen.c aarch64: Add GCS tests for dlopen 2025-02-21 16:10:44 +00:00
tst-gcs-enforced-abort.c aarch64: Add tests for Guarded Control Stack 2025-02-21 16:08:00 +00:00
tst-gcs-enforced-static-abort.c aarch64: Add tests for Guarded Control Stack 2025-02-21 16:08:00 +00:00
tst-gcs-enforced-static.c aarch64: Add tests for Guarded Control Stack 2025-02-21 16:08:00 +00:00
tst-gcs-enforced.c aarch64: Add tests for Guarded Control Stack 2025-02-21 16:08:00 +00:00
tst-gcs-helper.h aarch64: Add GCS tests for transitive dependencies 2025-02-21 16:09:06 +00:00
tst-gcs-mod1.c aarch64: Add GCS tests for transitive dependencies 2025-02-21 16:09:06 +00:00
tst-gcs-mod2.c aarch64: Add GCS tests for transitive dependencies 2025-02-21 16:09:06 +00:00
tst-gcs-mod3.c aarch64: Add GCS tests for transitive dependencies 2025-02-21 16:09:06 +00:00
tst-gcs-noreturn.c aarch64: Add GCS test with signal handler 2025-02-21 16:23:44 +00:00
tst-gcs-optional-off.c aarch64: Add tests for Guarded Control Stack 2025-02-21 16:08:00 +00:00
tst-gcs-optional-on.c aarch64: Add tests for Guarded Control Stack 2025-02-21 16:08:00 +00:00
tst-gcs-optional-static-off.c aarch64: Add tests for Guarded Control Stack 2025-02-21 16:08:00 +00:00
tst-gcs-optional-static-on.c aarch64: Add tests for Guarded Control Stack 2025-02-21 16:08:00 +00:00
tst-gcs-override-static.c aarch64: Add tests for Guarded Control Stack 2025-02-21 16:08:00 +00:00
tst-gcs-override.c aarch64: Add tests for Guarded Control Stack 2025-02-21 16:08:00 +00:00
tst-gcs-shared-disabled.c aarch64: Add GCS tests for transitive dependencies 2025-02-21 16:09:06 +00:00
tst-gcs-shared-enforced-abort.c aarch64: Add GCS tests for transitive dependencies 2025-02-21 16:09:06 +00:00
tst-gcs-shared-optional.c aarch64: Add GCS tests for transitive dependencies 2025-02-21 16:09:06 +00:00
tst-gcs-shared-override.c aarch64: Add GCS tests for transitive dependencies 2025-02-21 16:09:06 +00:00
tst-gcs-shared.c aarch64: Add GCS tests for transitive dependencies 2025-02-21 16:09:06 +00:00
tst-gcs-skeleton.c aarch64: Add GCS tests for transitive dependencies 2025-02-21 16:09:06 +00:00
tst-tlsdesc-pac-mod.c aarch64: Fix _dl_tlsdesc_dynamic unwind for pac-ret (BZ 32612) 2025-03-31 10:08:06 -03:00
tst-tlsdesc-pac.c aarch64: Fix _dl_tlsdesc_dynamic unwind for pac-ret (BZ 32612) 2025-03-31 10:08:06 -03:00
ucontext-internal.h
ucontext_i.sym
uw-sigframe.h aarch64: Fix aarch64_be build with --enable-sframe 2025-07-25 13:57:44 -03:00
vfork.S aarch64: clear ZA state of SME before clone and clone3 syscalls 2025-10-14 09:42:46 +01:00
vltest.py