[binutils-gdb] Support for a new pacbti unwind opcode.
Alan Modra
amodra@sourceware.org
Fri Oct 29 10:07:54 GMT 2021
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=09854a8870e63bd0d976d4d0dd7bd6b9b91348b1
commit 09854a8870e63bd0d976d4d0dd7bd6b9b91348b1
Author: Tejas Belagod <tejas.belagod@arm.com>
Date: Tue Oct 5 08:43:12 2021 +0000
Support for a new pacbti unwind opcode.
This patch adds readelf support for decoding the exception table
opcode for restoring the RA_AUTH_CODE pseudo register defined by the
EHABI
(https://github.com/ARM-software/abi-aa/releases/download/2021Q1/ehabi32.pdf
Section 10.3).
* readelf.c (decode_arm_unwind_bytecode): Add support to decode
restoring RA_AUTH_CODE pseudo register.
Diff:
---
binutils/readelf.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/binutils/readelf.c b/binutils/readelf.c
index 682eacdef14..1fa7ef45708 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -9419,6 +9419,8 @@ decode_arm_unwind_bytecode (Filedata * filedata,
printf ("-D%d", first + last);
printf ("}");
}
+ else if (op == 0xb4)
+ printf (_(" pop {ra_auth_code}"));
else if ((op & 0xf8) == 0xb8 || (op & 0xf8) == 0xd0)
{
unsigned int count = op & 0x07;
More information about the Binutils-cvs
mailing list