From 11e3488d3f787d51196a115fd9c6085e57bd9626 Mon Sep 17 00:00:00 2001 From: Luis Machado Date: Tue, 4 Apr 2023 14:13:50 +0100 Subject: aarch64/sme2: Teach binutils/BFD about the NT_ARM_ZT register set The Scalable Matrix Extension v2 (SME2) defines a new register, ZT0, that the Linux Kernel handles through a new NT_ARM_ZT register set. Teach binutils/BFD about it so that gdb can make use of it for reading and writing core files. This also enables readelf/objdump to show the correct identification for the NT_ARM_ZT register set. Validated under Fast Models. --- binutils/readelf.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'binutils') diff --git a/binutils/readelf.c b/binutils/readelf.c index a06ec79..a05c75f 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -20039,6 +20039,8 @@ get_note_type (Filedata * filedata, unsigned e_type) return _("NT_ARM_SSVE (AArch64 streaming SVE registers)"); case NT_ARM_ZA: return _("NT_ARM_ZA (AArch64 SME ZA register)"); + case NT_ARM_ZT: + return _("NT_ARM_ZT (AArch64 SME2 ZT registers)"); case NT_ARM_PAC_ENABLED_KEYS: return _("NT_ARM_PAC_ENABLED_KEYS (AArch64 pointer authentication enabled keys)"); case NT_ARC_V2: -- cgit v1.1