[binutils-gdb] Add new NT_ARM_ZA and NT_ARM_SSVE register set constants.
Nick Clifton
nickc@sourceware.org
Tue Jan 3 11:15:49 GMT 2023
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a8f175d9d0e8278a1b9f8e7cc65a840d0518861d
commit a8f175d9d0e8278a1b9f8e7cc65a840d0518861d
Author: Luis Machado <luis.machado@arm.com>
Date: Tue Jan 3 11:15:26 2023 +0000
Add new NT_ARM_ZA and NT_ARM_SSVE register set constants.
Diff:
---
binutils/ChangeLog | 5 +++++
binutils/readelf.c | 4 ++++
include/ChangeLog | 5 +++++
include/elf/common.h | 4 ++++
4 files changed, 18 insertions(+)
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index a04359c34a2..c6e96b0be2e 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,8 @@
+2023-01-03 Luis Machado <luis.machado@arm.com>
+
+ * readelf.c (get_note_type): Add support for NT_ARM_SSVE and
+ NT_ARM_ZA note types.
+
2022-12-31 Nick Clifton <nickc@redhat.com>
* 2.40 branch created.
diff --git a/binutils/readelf.c b/binutils/readelf.c
index e5632a68737..d028f313364 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -19547,6 +19547,10 @@ get_note_type (Filedata * filedata, unsigned e_type)
return _("NT_ARM_PACG_KEYS (ARM pointer authentication generic keys)");
case NT_ARM_TAGGED_ADDR_CTRL:
return _("NT_ARM_TAGGED_ADDR_CTRL (AArch tagged address control)");
+ case NT_ARM_SSVE:
+ return _("NT_ARM_SSVE (AArch64 streaming SVE registers)");
+ case NT_ARM_ZA:
+ return _("NT_ARM_ZA (AArch64 SME ZA register)");
case NT_ARM_PAC_ENABLED_KEYS:
return _("NT_ARM_PAC_ENABLED_KEYS (AArch64 pointer authentication enabled keys)");
case NT_ARC_V2:
diff --git a/include/ChangeLog b/include/ChangeLog
index e29622f2c58..f694007aaee 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,8 @@
+2023-01-03 Luis Machado <luis.machado@arm.com>
+
+ * elf/common.h (NT_ARM_SSVE): Define.
+ (NT_ARM_ZA): Define.
+
2022-12-31 Nick Clifton <nickc@redhat.com>
* 2.40 branch created.
diff --git a/include/elf/common.h b/include/elf/common.h
index 9775908386e..bb93123d14a 100644
--- a/include/elf/common.h
+++ b/include/elf/common.h
@@ -696,6 +696,10 @@
#define NT_ARM_PAC_ENABLED_KEYS 0x40a /* AArch64 pointer authentication
enabled keys (prctl()) */
/* note name must be "LINUX". */
+#define NT_ARM_SSVE 0x40b /* AArch64 SME streaming SVE registers. */
+ /* Note: name must be "LINUX". */
+#define NT_ARM_ZA 0x40c /* AArch64 SME ZA register. */
+ /* Note: name must be "LINUX". */
#define NT_ARC_V2 0x600 /* ARC HS accumulator/extra registers. */
/* note name must be "LINUX". */
#define NT_LARCH_CPUCFG 0xa00 /* LoongArch CPU config registers */
More information about the Binutils-cvs
mailing list