aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--binutils/readelf.c2
-rw-r--r--include/elf/common.h3
2 files changed, 5 insertions, 0 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c
index 775106f..a464692 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -20079,6 +20079,8 @@ get_note_type (Filedata * filedata, unsigned e_type)
return _("NT_X86_XSTATE (x86 XSAVE extended state)");
case NT_X86_CET:
return _("NT_X86_CET (x86 CET state)");
+ case NT_X86_SHSTK:
+ return _("NT_X86_SHSTK (x86 SHSTK state)");
case NT_S390_HIGH_GPRS:
return _("NT_S390_HIGH_GPRS (s390 upper register halves)");
case NT_S390_TIMER:
diff --git a/include/elf/common.h b/include/elf/common.h
index 244b133..690d780 100644
--- a/include/elf/common.h
+++ b/include/elf/common.h
@@ -645,6 +645,9 @@
/* note name must be "LINUX". */
#define NT_X86_CET 0x203 /* x86 CET state. */
/* note name must be "LINUX". */
+#define NT_X86_SHSTK 0x204 /* x86 SHSTK state. */
+ /* This replaces NT_X86_CET (0x203). */
+ /* note name must be "LINUX". */
#define NT_S390_HIGH_GPRS 0x300 /* S/390 upper halves of GPRs */
/* note name must be "LINUX". */
#define NT_S390_TIMER 0x301 /* S390 timer */