From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2098) id ECA0038357B0; Mon, 14 Nov 2022 15:13:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org ECA0038357B0 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: SRINATH PARVATHANENI To: bfd-cvs@sourceware.org Subject: [binutils-gdb] [readelf] arm: Support for new pacbti unwind opcode 0xb5. X-Act-Checkin: binutils-gdb X-Git-Author: Srinath Parvathaneni X-Git-Refname: refs/heads/master X-Git-Oldrev: a5b6e43669b78729d2ef78d668e19bac2b11197d X-Git-Newrev: b62fb887c69a482e0d4e7b9f7ded7384f8c4e584 Message-Id: <20221114151303.ECA0038357B0@sourceware.org> Date: Mon, 14 Nov 2022 15:13:03 +0000 (GMT) X-BeenThere: binutils-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Nov 2022 15:13:04 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3Db62fb887c69a= 482e0d4e7b9f7ded7384f8c4e584 commit b62fb887c69a482e0d4e7b9f7ded7384f8c4e584 Author: Srinath Parvathaneni Date: Mon Nov 14 15:11:49 2022 +0000 [readelf] arm: Support for new pacbti unwind opcode 0xb5. =20 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/ehabi3= 2.pdf Section 10.3). =20 binutils/ChangeLog: =20 2022-11-07 Srinath Parvathaneni =20 * readelf.c (decode_arm_unwind_bytecode): Add entry to decode o= pcode 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 =3D=3D 0xb4) printf (_(" pop {ra_auth_code}")); + else if (op =3D=3D 0xb5) + printf (_(" vsp as modifier for PAC validation")); else if ((op & 0xf8) =3D=3D 0xb8 || (op & 0xf8) =3D=3D 0xd0) { unsigned int count =3D op & 0x07;