public inbox for binutils-cvs@sourceware.org
 help / color / mirror / Atom feed
* [binutils-gdb] [readelf] arm: Support for new pacbti unwind opcode 0xb5.
@ 2022-11-14 15:13 SRINATH PARVATHANENI
  0 siblings, 0 replies; only message in thread
From: SRINATH PARVATHANENI @ 2022-11-14 15:13 UTC (permalink / raw)
  To: bfd-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b62fb887c69a482e0d4e7b9f7ded7384f8c4e584

commit b62fb887c69a482e0d4e7b9f7ded7384f8c4e584
Author: Srinath Parvathaneni <srinath.parvathaneni@arm.com>
Date:   Mon Nov 14 15:11:49 2022 +0000

    [readelf] arm: Support for new pacbti unwind opcode 0xb5.
    
    This patch adds readelf support for decoding the exception
    table opcode "0xb5", which indicates to use effective vsp
    as modifier for PAC validation as defined by EHABI
    (https://github.com/ARM-software/abi-aa/releases/download/2022Q3/ehabi32.pdf
    Section 10.3).
    
    binutils/ChangeLog:
    
    2022-11-07  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
    
            * readelf.c (decode_arm_unwind_bytecode): Add entry to decode opcode 0xb5.

Diff:
---
 binutils/readelf.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/binutils/readelf.c b/binutils/readelf.c
index 4d8e540b39b..c8323539a21 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -9916,6 +9916,8 @@ decode_arm_unwind_bytecode (Filedata *                 filedata,
 	}
       else if (op == 0xb4)
 	printf (_("     pop {ra_auth_code}"));
+      else if (op == 0xb5)
+	printf (_("     vsp as modifier for PAC validation"));
       else if ((op & 0xf8) == 0xb8 || (op & 0xf8) == 0xd0)
 	{
 	  unsigned int count = op & 0x07;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-11-14 15:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-14 15:13 [binutils-gdb] [readelf] arm: Support for new pacbti unwind opcode 0xb5 SRINATH PARVATHANENI

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).