[PATCH] readelf: Support NT_X86_CET

H.J. Lu hjl.tools@gmail.com
Thu Sep 10 22:53:41 GMT 2020


	* readelf.c (get_note_type): Support NT_X86_CET.
---
 binutils/readelf.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/binutils/readelf.c b/binutils/readelf.c
index cb4208f7b9..95720ea055 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:
-- 
2.26.2



More information about the Binutils mailing list