From 9b1c7dc3a041b6d37f9c80b46778c98c157b393f Mon Sep 17 00:00:00 2001 From: Srinath Parvathaneni Date: Mon, 14 Nov 2022 15:13:17 +0000 Subject: [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 * 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/doc/c-arm.texi | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gas/doc') diff --git a/gas/doc/c-arm.texi b/gas/doc/c-arm.texi index 0605d32..0f43272 100644 --- a/gas/doc/c-arm.texi +++ b/gas/doc/c-arm.texi @@ -1086,6 +1086,12 @@ This directive writes 12-byte packed floating-point values to the output section. These are not compatible with current ARM processors or ABIs. +@anchor{arm_pacspval} +@cindex @code{.pacspval} directive, ARM +@item .pacspval +Generate unwinder annotations to use effective vsp as modifier in PAC +validation. + @anchor{arm_pad} @cindex @code{.pad} directive, ARM @item .pad #@var{count} -- cgit v1.1