summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2010-02-02 12:37:40 +0000
committerH.J. Lu <hjl.tools@gmail.com>2010-02-02 12:37:40 +0000
commit8b5c2e99d4726c857fbabcb82557d534a5015989 (patch)
treed5fc9af7b0d38351fc7882f90a47d2eef85ccee1
parentfac3c73ba0b0e0362dfa4648e1cd504ece77ece4 (diff)
downloadcygnal-8b5c2e99d4726c857fbabcb82557d534a5015989.tar.gz
cygnal-8b5c2e99d4726c857fbabcb82557d534a5015989.tar.bz2
cygnal-8b5c2e99d4726c857fbabcb82557d534a5015989.zip
Add NT_386_XSTATE.
bfd/ 2010-02-02 H.J. Lu <hongjiu.lu@intel.com> * elf-bfd.h (elfcore_write_xstatereg): New. * elf.c (elfcore_grok_xstatereg): New. (elfcore_write_xstatereg): Likewise. (elfcore_grok_note): Handle NT_X86_XSTATE. (elfcore_write_register_note): Handle .reg-xstate section. binutils/ 2010-02-02 H.J. Lu <hongjiu.lu@intel.com> * readelf.c (get_note_type): Handle NT_X86_XSTATE. include/elf/ 2010-02-02 H.J. Lu <hongjiu.lu@intel.com> * common.h (NT_386_XSTATE): New.
-rw-r--r--include/elf/ChangeLog6
-rw-r--r--include/elf/common.h2
2 files changed, 7 insertions, 1 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index ee204ccb1..41f1286c2 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,6 +1,10 @@
+2010-02-02 H.J. Lu <hongjiu.lu@intel.com>
+
+ * common.h (NT_386_XSTATE): New.
+
2010-01-19 Daisuke Hatayama <d.hatayama@jp.fujitsu.com>
- * common.h (PN_XNUM): Define.
+ * common.h (PN_XNUM): Define.
2009-12-18 Ulrich Weigand <uweigand@de.ibm.com>
diff --git a/include/elf/common.h b/include/elf/common.h
index 703916e64..a76290231 100644
--- a/include/elf/common.h
+++ b/include/elf/common.h
@@ -513,6 +513,8 @@
/* note name must be "LINUX". */
#define NT_PPC_VSX 0x102 /* PowerPC VSX registers */
/* 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 */
/* note name must be "LINUX". */