aboutsummaryrefslogtreecommitdiff
path: root/binutils/readelf.c
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
commit4339cae0bb39a38117d51fc52066e659dccaee29 (patch)
tree46d30d4f07656095d9d0d9f07e837d99da10c239 /binutils/readelf.c
parent0718675c768e5a5d2fc96a6a4e70cd52fe148c16 (diff)
downloadfsf-binutils-gdb-4339cae0bb39a38117d51fc52066e659dccaee29.zip
fsf-binutils-gdb-4339cae0bb39a38117d51fc52066e659dccaee29.tar.gz
fsf-binutils-gdb-4339cae0bb39a38117d51fc52066e659dccaee29.tar.bz2
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.
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r--binutils/readelf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c
index b9de73a..34dbfac 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -10415,6 +10415,8 @@ 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_X86_XSTATE:
+ return _("NT_X86_XSTATE (x86 XSAVE extended state)");
case NT_S390_HIGH_GPRS:
return _("NT_S390_HIGH_GPRS (s390 upper register halves)");
case NT_PSTATUS: