]> git.ipfire.org Git - thirdparty/elfutils.git/commit
libdw, aarch64: Implement DW_CFA_AARCH64_negate_ra_state CFI instruction
authorGerman Gomez <german.gomez@arm.com>
Mon, 26 Aug 2024 10:52:54 +0000 (11:52 +0100)
committerMark Wielaard <mark@klomp.org>
Fri, 30 Aug 2024 12:54:43 +0000 (14:54 +0200)
commitc3da7ddf637882798ae442109d05259bf57a470d
tree977c5dbaaacf9d34a5a0f45e9649d1567f5580c8
parentae50e33852e9a9987731e4e39de38288bca2cadd
libdw, aarch64: Implement DW_CFA_AARCH64_negate_ra_state CFI instruction

Implement DW_CFA_AARCH64_negate_ra_state in accordance with the DWARF
AARCH64 ABI [1].

Followup commits will use the value of this register to remove the PAC
from return addresses.

[1] https://github.com/ARM-software/abi-aa/blob/main/aadwarf64/aadwarf64.rst#44call-frame-instructions

Signed-off-by: German Gomez <german.gomez@arm.com>
Signed-off-by: Steve Capper <steve.capper@arm.com>
libdw/cfi.c