From 8b5c2e99d4726c857fbabcb82557d534a5015989 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Tue, 2 Feb 2010 12:37:40 +0000 Subject: [PATCH] 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. --- include/elf/ChangeLog | 6 +++++- include/elf/common.h | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) 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 + + * common.h (NT_386_XSTATE): New. + 2010-01-19 Daisuke Hatayama - * common.h (PN_XNUM): Define. + * common.h (PN_XNUM): Define. 2009-12-18 Ulrich Weigand 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". */