From: Tom Tromey Date: Thu, 1 Nov 2012 14:57:22 +0000 (+0000) Subject: binutils X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ff826ef3e28e9934318fe17d3c09c4af2f4c799d;p=binutils-gdb.git 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. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index c8149590746..2f08dcc5a79 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 399402dd4af..63ab14b0958 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 ef17f374be7..f03cd737ac5 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 be228cdc1ac..244e27fde2d 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 */