]> git.ipfire.org Git - thirdparty/glibc.git/commit
AArch64: Cleanup PAC and BTI
authorWilco Dijkstra <wilco.dijkstra@arm.com>
Wed, 14 May 2025 16:32:31 +0000 (16:32 +0000)
committerWilco Dijkstra <wilco.dijkstra@arm.com>
Mon, 19 May 2025 15:35:32 +0000 (15:35 +0000)
commit2c421fc4302ecb729823ca442f9dfab95afba752
tree1009d63b2ee40e64ea83f51973d1649cd79d2d2e
parent96abd59bf2a11ddd4e7ccaac840ec13c0b62d3ba
AArch64: Cleanup PAC and BTI

Now we finally support modern GCC and binutils, it's time for a cleanup.
Use PAC and BTI instructions unconditionally and use proper assembler syntax.
Remove the PR target/94791 strip_pac workarounds for buggy GCCs.  Remove the
PAC/BTI configure checks - always emit GNU property notes on assembly files.
Change cfi_window_save to the correct cfi_negate_ra_state unwind directive.

Reviewed-by: Matthieu Longo <matthieu.longo@arm.com>
20 files changed:
config.h.in
elf/tst-asm-helper.h
sysdeps/aarch64/__arm_za_disable.S
sysdeps/aarch64/__longjmp.S
sysdeps/aarch64/configure
sysdeps/aarch64/configure.ac
sysdeps/aarch64/crti.S
sysdeps/aarch64/crtn.S
sysdeps/aarch64/dl-tlsdesc.S
sysdeps/aarch64/dl-trampoline.S
sysdeps/aarch64/machine-gmon.h
sysdeps/aarch64/multiarch/ifunc-impl-list.c
sysdeps/aarch64/multiarch/init-arch.h
sysdeps/aarch64/multiarch/memcpy_a64fx.S
sysdeps/aarch64/multiarch/memset_a64fx.S
sysdeps/aarch64/setjmp.S
sysdeps/aarch64/start.S
sysdeps/aarch64/sysdep.h
sysdeps/unix/sysv/linux/aarch64/setcontext.S
sysdeps/unix/sysv/linux/aarch64/swapcontext.S