From 4339cae0bb39a38117d51fc52066e659dccaee29 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Tue, 2 Feb 2010 12:37:40 +0000 Subject: Add NT_386_XSTATE. bfd/ 2010-02-02 H.J. Lu * 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 * readelf.c (get_note_type): Handle NT_X86_XSTATE. include/elf/ 2010-02-02 H.J. Lu * common.h (NT_386_XSTATE): New. --- binutils/ChangeLog | 4 ++++ binutils/readelf.c | 2 ++ 2 files changed, 6 insertions(+) (limited to 'binutils') diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 719192b..ede4c6d 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2010-02-02 H.J. Lu + + * readelf.c (get_note_type): Handle NT_X86_XSTATE. + 2010-02-01 Nathan Sidwell * objcopy.c (copy_object): Set SEC_LINKER_CREATED when adding 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: -- cgit v1.1