diff options
-rw-r--r-- | binutils/ChangeLog | 4 | ||||
-rw-r--r-- | binutils/readelf.c | 2 | ||||
-rw-r--r-- | include/ChangeLog | 4 | ||||
-rw-r--r-- | include/elf/common.h | 2 |
4 files changed, 12 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index a925dbbbcd5..44c388a23f8 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2020-09-11 H.J. Lu <hongjiu.lu@intel.com> + + * readelf.c (get_note_type): Support NT_X86_CET. + 2020-09-11 Nick Clifton <nickc@redhat.com> PR 26595 diff --git a/binutils/readelf.c b/binutils/readelf.c index cb4208f7b96..95720ea0552 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -17953,6 +17953,8 @@ get_note_type (Filedata * filedata, unsigned e_type) return _("NT_386_IOPERM (x86 I/O permissions)"); case NT_X86_XSTATE: return _("NT_X86_XSTATE (x86 XSAVE extended state)"); + case NT_X86_CET: + return _("NT_X86_CET (x86 CET state)"); case NT_S390_HIGH_GPRS: return _("NT_S390_HIGH_GPRS (s390 upper register halves)"); case NT_S390_TIMER: diff --git a/include/ChangeLog b/include/ChangeLog index cc29c6da6a9..ac904ea0fe6 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2020-09-11 H.J. Lu <hongjiu.lu@intel.com> + + * elf/common.h (NT_X86_CET): New. + 2020-09-10 Cooper Qu <cooper.qu@linux.alibaba.com> * opcode/csky.h (CSKY_ARCH_804): Define. diff --git a/include/elf/common.h b/include/elf/common.h index 805058146ab..571e21af29a 100644 --- a/include/elf/common.h +++ b/include/elf/common.h @@ -619,6 +619,8 @@ /* note name must be "LINUX". */ #define NT_X86_XSTATE 0x202 /* x86 XSAVE extended state */ /* note name must be "LINUX". */ +#define NT_X86_CET 0x203 /* x86 CET state. */ + /* 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 */ |