[gas] arm: Add support for new unwinder directive ".pacspval".
commit9b1c7dc3a041b6d37f9c80b46778c98c157b393f
authorSrinath Parvathaneni <srinath.parvathaneni@arm.com>
Mon, 14 Nov 2022 15:13:17 +0000 (14 15:13 +0000)
committerSrinath Parvathaneni <srinath.parvathaneni@arm.com>
Mon, 14 Nov 2022 15:13:21 +0000 (14 15:13 +0000)
tree5534b49d5f85618281eb00d2633b0fcf443ce35a
parentb62fb887c69a482e0d4e7b9f7ded7384f8c4e584
[gas] arm: Add support for new unwinder directive ".pacspval".

This patch adds the assembler support for the new unwinder
directive ".pacspval" and encodes this directives with opcode
"0xb5". This opcode indicates the unwinder to use effective
vsp as modifier for PAC validation.

gas/ChangeLog:

2022-11-07  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>

        * doc/c-arm.texi: Document directive.
        * config/tc-arm.c (s_arm_unwind_pacspval): Define function.
        (md_pseudo_table): Add entry for pacspval directive.
        * testsuite/gas/arm/ehabi-pacbti-m.d: New test.
        * testsuite/gas/arm/ehabi-pacbti-m.s: Likewise.
gas/config/tc-arm.c
gas/doc/c-arm.texi
gas/testsuite/gas/arm/ehabi-pacbti-m.d [new file with mode: 0644]
gas/testsuite/gas/arm/ehabi-pacbti-m.s [new file with mode: 0644]