glibc/sysdeps
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
..
aarch64 aarch64: make GCS configure checks aarch64-only 2025-11-26 13:50:15 +00:00
alpha Add gmp-arch and udiv_qrnnd 2025-11-25 14:52:15 -03:00
arc
arm math: New generic fma implementation 2025-11-26 10:10:06 -03:00
csky
generic stdlib: Remove longlong.h 2025-11-26 10:10:06 -03:00
gnu
hppa Add gmp-arch and udiv_qrnnd 2025-11-25 14:52:15 -03:00
htl
hurd
i386 math: New generic fma implementation 2025-11-26 10:10:06 -03:00
ieee754 math: New generic fma implementation 2025-11-26 10:10:06 -03:00
loongarch Add add_ssaaaa and sub_ssaaaa to gmp-arch.h 2025-11-26 10:10:02 -03:00
m68k
mach
microblaze
mips
nptl
or1k
posix
powerpc Add add_ssaaaa and sub_ssaaaa to gmp-arch.h 2025-11-26 10:10:02 -03:00
pthread
riscv Add add_ssaaaa and sub_ssaaaa to gmp-arch.h 2025-11-26 10:10:02 -03:00
s390
sh
sparc
unix aarch64: make GCS configure checks aarch64-only 2025-11-26 13:50:15 +00:00
wordsize-32 stdlib: Remove longlong.h 2025-11-26 10:10:06 -03:00
wordsize-64
x86 stdlib: Remove longlong.h 2025-11-26 10:10:06 -03:00
x86_64