aarch64/sme2: Teach binutils/BFD about the NT_ARM_ZT register set
authorLuis Machado <luis.machado@arm.com>
Tue, 4 Apr 2023 13:13:50 +0000 (14:13 +0100)
committerLuis Machado <luis.machado@arm.com>
Mon, 21 Aug 2023 11:43:43 +0000 (12:43 +0100)
commit11e3488d3f787d51196a115fd9c6085e57bd9626
tree14513e9145f2d36f36b0cd7e99f5a15fa46686c3
parent682267bfe4288c44ac725ba8abd7f2e790b45431
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.
bfd/elf-bfd.h
bfd/elf.c
binutils/readelf.c
include/elf/common.h