diff options
author | Matthieu Longo <matthieu.longo@arm.com> | 2024-11-21 18:40:41 +0000 |
---|---|---|
committer | Matthieu Longo <matthieu.longo@arm.com> | 2025-01-14 10:53:21 +0000 |
commit | 694cccee051e58f76c93a9f26a3852009b31aa4d (patch) | |
tree | cf425364dce993bf9fd55e7bd941a5c7f4d1daae /gdb/jit.c | |
parent | b4c230fe2283cfe1a14426f68a1b76b05596a295 (diff) | |
download | binutils-694cccee051e58f76c93a9f26a3852009b31aa4d.zip binutils-694cccee051e58f76c93a9f26a3852009b31aa4d.tar.gz binutils-694cccee051e58f76c93a9f26a3852009b31aa4d.tar.bz2 |
aarch64 SFrame: use preferred CFI directive for AArch64 PAC
ARMv8.3 addded support for a new security feature named Pointer
Authentication. Support for this feature in SFrame already exists.
In GCC 14 and older, the Sparc DWARF extension .cfi_gnu_window_save
is emitted instead of .cfi_negate_ra_state.
GCC 15 fixed this issue, but this behavior is preserved for backward
compatibility.
The existing sframe test for AArch64 PAC was using .cfi_gnu_window_save.
This patch replaces this CFI in the existing test by the preferred one,
and adds a new test to check for backward compatibility when using
.cfi_gnu_window_save.
Approved-by: Indu Bhagat <indu.bhagat@oracle.com>
Diffstat (limited to 'gdb/jit.c')
0 files changed, 0 insertions, 0 deletions