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 /include | |
parent | ce139cd560dcb85b09d4d257ac67ebffdf215859 (diff) | |
download | gdb-8d58ed37f168b3ae927cbb2967089c85d10ef6f2.zip gdb-8d58ed37f168b3ae927cbb2967089c85d10ef6f2.tar.gz gdb-8d58ed37f168b3ae927cbb2967089c85d10ef6f2.tar.bz2 |
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 'include')
-rw-r--r-- | include/ChangeLog | 4 | ||||
-rw-r--r-- | include/elf/common.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index cc29c6d..ac904ea 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 8050581..571e21a 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 */ |