binutils
authorTom Tromey <tromey@redhat.com>
Thu, 1 Nov 2012 14:57:22 +0000 (14:57 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 1 Nov 2012 14:57:22 +0000 (14:57 +0000)
* 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
binutils/readelf.c
include/elf/ChangeLog
include/elf/common.h

index c814959..2f08dcc 100644 (file)
@@ -1,3 +1,7 @@
+2012-11-01  Tom Tromey  <tromey@redhat.com>
+
+       * readelf.c (get_note_type): Handle NT_386_TLS, NT_386_IOPERM.
+
 2012-10-30  Nick Clifton  <nickc@redhat.com>
 
        PR binutils/14779
index 399402d..63ab14b 100644 (file)
@@ -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:
index ef17f37..f03cd73 100644 (file)
@@ -1,3 +1,7 @@
+2012-11-01  Tom Tromey  <tromey@redhat.com>
+
+       * common.h (NT_386_TLS, NT_386_IOPERM): New defines.
+
 2012-10-30  Steve McIntyre  <steve.mcintyre@linaro.org>
 
        * elf/arm.h (EF_ARM_ABI_FLOAT_SOFT): New define.
index be228cd..244e27f 100644 (file)
                                        /*   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  */