aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf-bfd.h
diff options
context:
space:
mode:
authorLuis Machado <luis.machado@arm.com>2023-04-04 14:13:50 +0100
committerLuis Machado <luis.machado@arm.com>2023-08-21 12:43:43 +0100
commit11e3488d3f787d51196a115fd9c6085e57bd9626 (patch)
tree14513e9145f2d36f36b0cd7e99f5a15fa46686c3 /bfd/elf-bfd.h
parent682267bfe4288c44ac725ba8abd7f2e790b45431 (diff)
downloadgdb-11e3488d3f787d51196a115fd9c6085e57bd9626.zip
gdb-11e3488d3f787d51196a115fd9c6085e57bd9626.tar.gz
gdb-11e3488d3f787d51196a115fd9c6085e57bd9626.tar.bz2
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.
Diffstat (limited to 'bfd/elf-bfd.h')
-rw-r--r--bfd/elf-bfd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h
index 659eef4..d9ab5bd 100644
--- a/bfd/elf-bfd.h
+++ b/bfd/elf-bfd.h
@@ -2944,6 +2944,8 @@ extern char *elfcore_write_aarch_ssve
(bfd *, char *, int *, const void *, int);
extern char *elfcore_write_aarch_za
(bfd *, char *, int *, const void *, int);
+extern char *elfcore_write_aarch_zt
+ (bfd *, char *, int *, const void *, int);
extern char *elfcore_write_arc_v2
(bfd *, char *, int *, const void *, int);
extern char *elfcore_write_riscv_csr