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.
This commit is contained in:
Tejas Belagod 2021-10-05 08:43:12 +00:00 committed by Alan Modra
parent dd6b67bec8
commit 09854a8870

View File

@ -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;