Add new NT_ARM_ZA and NT_ARM_SSVE register set constants.
authorLuis Machado <luis.machado@arm.com>
Tue, 3 Jan 2023 11:15:26 +0000 (11:15 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 3 Jan 2023 11:15:26 +0000 (11:15 +0000)
binutils/ChangeLog
binutils/readelf.c
include/ChangeLog
include/elf/common.h

index a04359c34a23efd0094aeedaf015dc5a39fe8030..c6e96b0be2ef7adc7ebc83aaa2f68520515e1075 100644 (file)
@@ -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.
index e5632a687372e40da41e5618a5a37fc0ce9669de..d028f3133642cee95e1bda20ca47e25e777253e7 100644 (file)
@@ -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:
index e29622f2c580a3cbfb2f6041dc00268fd9911bb6..f694007aaeea84a5524e57787d8b9f6ce9c7cdd7 100644 (file)
@@ -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.
index 9775908386ee2491259dff106899c231802e92dc..bb93123d14a6d3e78a2fcd58a91935c015ad0f49 100644 (file)
 #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 */