diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2020-09-11 05:51:53 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2020-09-11 05:52:06 -0700 |
commit | 8d58ed37f168b3ae927cbb2967089c85d10ef6f2 (patch) | |
tree | f0bd49822e9987d9e5daf99799c0350fb3e4a8bf /binutils | |
parent | ce139cd560dcb85b09d4d257ac67ebffdf215859 (diff) | |
download | binutils-gdb-8d58ed37f168b3ae927cbb2967089c85d10ef6f2.tar.gz |
x86: Add NT_X86_CET note
Define NT_X86_CET which is the proposed note for x86 CET state to support
Intel CET in Linux kernel. Double check it after Intel CET patches have
been merged into Linux kernel.
binutils/
* readelf.c (get_note_type): Support NT_X86_CET.
include/
* elf/common.h (NT_X86_CET): New.
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 4 | ||||
-rw-r--r-- | binutils/readelf.c | 2 |
2 files changed, 6 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: |