[3/3] aarch64: add some new core note types name
Commit Message
Recognize names of some new core note types in ebl_core_note_type_name.
Signed-off-by: Kuan-Ying Lee <kuan-ying.lee@canonical.com>
---
libebl/eblcorenotetypename.c | 3 +++
libelf/elf.h | 2 ++
2 files changed, 5 insertions(+)
Comments
Hi,
On Wed, Aug 14, 2024 at 04:51:20PM +0800, Kuan-Ying Lee wrote:
> Recognize names of some new core note types in ebl_core_note_type_name.
Thanks. Pushed the eblcorenotetypename.c part.
I pushed a glibc elf.h sync separately (commit 0abdd2e79).
Cheers,
Mark
@@ -95,6 +95,9 @@ ebl_core_note_type_name (Ebl *ebl, uint32_t type, char *buf, size_t len)
KNOWNSTYPE (ARM_TAGGED_ADDR_CTRL);
KNOWNSTYPE (ARM_PAC_ENABLED_KEYS);
KNOWNSTYPE (ARM_PAC_MASK);
+ KNOWNSTYPE (ARM_SVE);
+ KNOWNSTYPE (ARM_SSVE);
+ KNOWNSTYPE (ARM_ZA);
KNOWNSTYPE (SIGINFO);
KNOWNSTYPE (FILE);
#undef KNOWNSTYPE
@@ -831,6 +831,8 @@ typedef struct
control. */
#define NT_ARM_PAC_ENABLED_KEYS 0x40a /* AArch64 pointer authentication
enabled keys. */
+#define NT_ARM_SSVE 0x40b /* ARM Streaming SVE registers */
+#define NT_ARM_ZA 0x40c /* ARM SME ZA registers */
#define NT_VMCOREDD 0x700 /* Vmcore Device Dump Note. */
#define NT_MIPS_DSP 0x800 /* MIPS DSP ASE registers. */
#define NT_MIPS_FP_MODE 0x801 /* MIPS floating-point mode. */