glibc/sysdeps/aarch64
Adhemerval Zanella 20528165bd Disable SFrame support by default
And add extra checks to enable for binutils 2.45 and if the architecture
explicitly enables it.  When SFrame is disabled, all the related code
is also not enabled for backtrace() and _dl_find_object(), so SFrame
backtracking is not used even if the binary has the SFrame segment.

This patch also adds some other related fixes:

  * Fixed an issue with AC_CHECK_PROG_VER, where the READELF_SFRAME
    usage prevented specifying a different readelf through READELF
    environment variable at configure time.

  * Add an extra arch-specific internal definition,
    libc_cv_support_sframe, to disable --enable-sframe on architectures
    that have binutils but not glibc support (s390x).

  * Renamed the tests without the .sframe segment and move the
    tst-backtrace1 from pthread to debug.

  * Use the built compiler strip to remove the .sframe segment,
    instead of the system one (which might not support SFrame).

Checked on x86_64-linux-gnu and aarch64-linux-gnu.

Reviewed-by: Sam James <sam@gentoo.org>
2025-07-24 15:51:58 -03:00
..
bits AArch64: Remove LP64 and ILP32 ifdefs 2025-02-24 14:20:29 +00:00
fpu AArch64: Improve codegen SVE log1p helper 2025-06-18 17:28:51 +00:00
multiarch AArch64: Cleanup SVE config and defines 2025-05-20 10:33:55 +00:00
nptl AArch64: Remove LP64 and ILP32 ifdefs 2025-02-24 14:20:29 +00:00
sys aarch64: add __ifunc_hwcap function to be used in ifunc resolvers 2025-06-05 14:38:51 +01:00
Implies
Makefile aarch64: fix typo in sysdeps/aarch64/Makefile 2025-06-10 10:48:07 +01:00
Versions
__alloc_gcs.c aarch64: GCS: use internal struct in __alloc_gcs 2025-06-18 09:37:13 +01:00
__arm_za_disable.S AArch64: Cleanup PAC and BTI 2025-05-19 15:35:32 +00:00
__longjmp.S aarch64: simplify calls to __libc_arm_za_disable in assembly 2025-06-18 09:42:33 +01:00
__mtag_tag_region.S AArch64: Remove PTR_ARG/SIZE_ARG defines 2025-02-24 14:15:15 +00:00
__mtag_tag_zero_region.S AArch64: Remove PTR_ARG/SIZE_ARG defines 2025-02-24 14:15:15 +00:00
aarch64-gcs.h aarch64: GCS: use internal struct in __alloc_gcs 2025-06-18 09:37:13 +01:00
abort-instr.h
atomic-machine.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
bsd-_setjmp.c
bsd-setjmp.c
configure Disable SFrame support by default 2025-07-24 15:51:58 -03:00
configure.ac Disable SFrame support by default 2025-07-24 15:51:58 -03:00
cpu-features.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
crti.S AArch64: Cleanup PAC and BTI 2025-05-19 15:35:32 +00:00
crtn.S AArch64: Cleanup PAC and BTI 2025-05-19 15:35:32 +00:00
dl-audit-check.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
dl-bti.c aarch64: Use l_searchlist.r_list for bti 2025-01-20 09:31:47 +00:00
dl-diagnostics-cpu.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
dl-dtprocnum.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
dl-gcs.c aarch64: Ignore GCS property of ld.so 2025-01-20 09:36:19 +00:00
dl-irel.h aarch64: add support for hwcap3,4 2025-06-05 14:38:03 +01:00
dl-link.sym
dl-lookupcfg.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
dl-machine.h AArch64: Remove AARCH64_R macro 2025-02-24 14:19:19 +00:00
dl-prop.h aarch64: Handle GCS marking 2025-01-20 09:35:56 +00:00
dl-start.S AArch64: Remove PTR_REG defines 2025-02-24 14:16:55 +00:00
dl-tlsdesc.S AArch64: Cleanup PAC and BTI 2025-05-19 15:35:32 +00:00
dl-tlsdesc.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
dl-trampoline.S AArch64: Cleanup PAC and BTI 2025-05-19 15:35:32 +00:00
dl-tunables.list aarch64: Add glibc.cpu.aarch64_gcs tunable 2025-01-20 09:31:33 +00:00
e_sqrtl.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
elf-initfini.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
hp-timing.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
jmpbuf-offsets.h aarch64: Define jmp_buf offset for GCS 2025-01-20 09:22:41 +00:00
jmpbuf-unwind.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
ldsodefs.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
libc-mtag.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
libc-start.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
libc-tls.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
linkmap.h aarch64: Handle GCS marking 2025-01-20 09:35:56 +00:00
machine-gmon.h AArch64: Cleanup PAC and BTI 2025-05-19 15:35:32 +00:00
math-tests-trap.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
math-use-builtins-ffs.h string: Use builtins for ffs and ffsll 2024-02-01 09:31:33 -03:00
mcount.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
memchr.S AArch64: Remove PTR_ARG/SIZE_ARG defines 2025-02-24 14:15:15 +00:00
memcmp.S AArch64: Remove PTR_ARG/SIZE_ARG defines 2025-02-24 14:15:15 +00:00
memcpy.S AArch64: Remove PTR_ARG/SIZE_ARG defines 2025-02-24 14:15:15 +00:00
memmove.c
memrchr.S AArch64: Remove PTR_ARG/SIZE_ARG defines 2025-02-24 14:15:15 +00:00
memset.S AArch64: Remove PTR_ARG/SIZE_ARG defines 2025-02-24 14:15:15 +00:00
preconfigure i386: Update ___tls_get_addr to preserve vector registers 2025-06-19 04:30:31 +08:00
rawmemchr.S Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
rtld-global-offsets.sym aarch64: Enable GCS in dynamic linked exe 2025-01-20 09:31:47 +00:00
setjmp.S aarch64: simplify calls to __libc_arm_za_disable in assembly 2025-06-18 09:42:33 +01:00
sfp-machine.h aarch64: Use 64-bit variable to access the special registers 2025-01-13 10:17:38 -03:00
sotruss-lib.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
start.S AArch64: Cleanup PAC and BTI 2025-05-19 15:35:32 +00:00
stpcpy.S Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
strchr.S AArch64: Remove PTR_ARG/SIZE_ARG defines 2025-02-24 14:15:15 +00:00
strchrnul.S AArch64: Remove PTR_ARG/SIZE_ARG defines 2025-02-24 14:15:15 +00:00
strcmp.S AArch64: Remove PTR_ARG/SIZE_ARG defines 2025-02-24 14:15:15 +00:00
strcpy.S AArch64: Remove PTR_ARG/SIZE_ARG defines 2025-02-24 14:15:15 +00:00
strlen.S AArch64: Remove PTR_ARG/SIZE_ARG defines 2025-02-24 14:15:15 +00:00
strncmp.S Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
strnlen.S AArch64: Remove PTR_ARG/SIZE_ARG defines 2025-02-24 14:15:15 +00:00
strrchr.S AArch64: Remove PTR_ARG/SIZE_ARG defines 2025-02-24 14:15:15 +00:00
sysdep.h AArch64: Cleanup PAC and BTI 2025-05-19 15:35:32 +00:00
tlsdesc.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tlsdesc.sym
tst-audit.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-audit26.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-audit26mod.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-audit26mod.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-audit27.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-audit27mod.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-audit27mod.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-auditmod26.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-auditmod27.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-ifunc-arg-1.c aarch64: add __ifunc_hwcap function to be used in ifunc resolvers 2025-06-05 14:38:51 +01:00
tst-ifunc-arg-2.c aarch64: add __ifunc_hwcap function to be used in ifunc resolvers 2025-06-05 14:38:51 +01:00
tst-ifunc-arg-3.c aarch64: add __ifunc_hwcap function to be used in ifunc resolvers 2025-06-05 14:38:51 +01:00
tst-ifunc-arg-4.c aarch64: add __ifunc_hwcap function to be used in ifunc resolvers 2025-06-05 14:38:51 +01:00
tst-sme-helper.h aarch64: update tests for SME 2025-05-15 14:23:35 +01:00
tst-sme-jmp.c aarch64: update tests for SME 2025-05-15 14:23:35 +01:00
tst-sme-za-state.c aarch64: update tests for SME 2025-05-15 14:23:35 +01:00
tst-vpcs-mod.S aarch64: Fix tests not compatible with targets supporting GCS 2025-01-20 09:36:19 +00:00
tst-vpcs.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
wordcopy.c