aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-11-01 14:57:22 +0000
committerTom Tromey <tromey@redhat.com>2012-11-01 14:57:22 +0000
commit807c4047a89705f0d1028d7a3a80ace263eb9447 (patch)
treeb050f97c74a90bc6f72ef280bdca5bb97af2fcb3
parent8d8774a87f6f27deae61cb9334e6af629ca9ce07 (diff)
downloadbinutils-807c4047a89705f0d1028d7a3a80ace263eb9447.tar.gz
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.
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/readelf.c4
-rw-r--r--include/elf/ChangeLog4
-rw-r--r--include/elf/common.h4
4 files changed, 16 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index c81495907..2f08dcc5a 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -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
diff --git a/binutils/readelf.c b/binutils/readelf.c
index 399402dd4..63ab14b09 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 ef17f374b..f03cd737a 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -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.
diff --git a/include/elf/common.h b/include/elf/common.h
index be228cdc1..244e27fde 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 */