summaryrefslogtreecommitdiff
path: root/gdb/maint.c
diff options
context:
space:
mode:
authorTejas Belagod <Tejas.Belagod@arm.com>2021-10-28 15:44:42 +0100
committerPrzemyslaw Wirkus <przemyslaw.wirkus@arm.com>2021-10-28 15:56:02 +0100
commit8c2999954bd3aa5853f553eb6a050dd38e6d9029 (patch)
tree87d057cb1110b7568980730308d0545df3c26ca3 /gdb/maint.c
parenta1ff87d77ca7fa851170702fd972ae3d31f2e378 (diff)
downloadbinutils-gdb-8c2999954bd3aa5853f553eb6a050dd38e6d9029.tar.gz
arm: add unwinder encoding support for PACBTI
This patch adds support for encoding the Return Address Authentication pseudo register - '.save {ra_auth_code}' as defined by the DWARF ABI - in the exception tables where the opcode is defined by the EHABI gas/Changelog: * config/tc-arm.c (arm_reg_type): Add new type REG_TYPE_PSEUDO. (reg_expected_msgs): Add message for pseudo reg type. (reg_list_els): Add new reg list type REGLIST_PSEUDO. (parse_reg_list): Handle new REGLIST_PSEUDO type. (s_arm_unwind_save_pseudo): Encode pseudo reg list save in exception tables. (s_arm_unwind_save): Handle new REG_TYPE_PSEUDO. (reg_names): Add ra_auth_code pseudo register. * testsuite/gas/arm/unwind-pacbti-m.s: New test. * testsuite/gas/arm/unwind-pacbti-m.d: New test. * testsuite/gas/arm/unwind-pacbti-m-readelf.d: New test.
Diffstat (limited to 'gdb/maint.c')
0 files changed, 0 insertions, 0 deletions