From ff826ef3e28e9934318fe17d3c09c4af2f4c799d Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 1 Nov 2012 14:57:22 +0000 Subject: [PATCH] binutils * readelf.c (get_note_type): Handle NT_386_TLS, NT_386_IOPERM. include/common/elf * common.h (NT_386_TLS, NT_386_IOPERM): New defines. --- binutils/ChangeLog | 4 ++++ binutils/readelf.c | 4 ++++ include/elf/ChangeLog | 4 ++++ include/elf/common.h | 4 ++++ 4 files changed, 16 insertions(+) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index c814959..2f08dcc 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2012-11-01 Tom Tromey + + * readelf.c (get_note_type): Handle NT_386_TLS, NT_386_IOPERM. + 2012-10-30 Nick Clifton PR binutils/14779 diff --git a/binutils/readelf.c b/binutils/readelf.c index 399402d..63ab14b 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -12666,6 +12666,10 @@ get_note_type (unsigned e_type) return _("NT_PPC_VMX (ppc Altivec registers)"); case NT_PPC_VSX: return _("NT_PPC_VSX (ppc VSX registers)"); + case NT_386_TLS: + return _("NT_386_TLS (x86 TLS information)"); + case NT_386_IOPERM: + return _("NT_386_IOPERM (x86 I/O permissions)"); case NT_X86_XSTATE: return _("NT_X86_XSTATE (x86 XSAVE extended state)"); case NT_S390_HIGH_GPRS: diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index ef17f37..f03cd73 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,3 +1,7 @@ +2012-11-01 Tom Tromey + + * common.h (NT_386_TLS, NT_386_IOPERM): New defines. + 2012-10-30 Steve McIntyre * elf/arm.h (EF_ARM_ABI_FLOAT_SOFT): New define. diff --git a/include/elf/common.h b/include/elf/common.h index be228cd..244e27f 100644 --- a/include/elf/common.h +++ b/include/elf/common.h @@ -529,6 +529,10 @@ /* note name must be "LINUX". */ #define NT_PPC_VSX 0x102 /* PowerPC VSX registers */ /* note name must be "LINUX". */ +#define NT_386_TLS 0x200 /* x86 TLS information */ + /* note name must be "LINUX". */ +#define NT_386_IOPERM 0x201 /* x86 io permissions */ + /* note name must be "LINUX". */ #define NT_X86_XSTATE 0x202 /* x86 XSAVE extended state */ /* note name must be "LINUX". */ #define NT_S390_HIGH_GPRS 0x300 /* S/390 upper halves of GPRs */ -- 2.7.4