summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLuis Machado <luisgpm@br.ibm.com>2008-07-21 05:33:37 +0000
committerLuis Machado <luisgpm@br.ibm.com>2008-07-21 05:33:37 +0000
commitdbba50e21d0be69cc29afc6f7a562ebbf2960e55 (patch)
treefc01d60863e9c7f6d5a1296f4dd02199d1c3af97 /include
parent7151edcfd881fac54caad6ad32aa65823138c53e (diff)
downloadgdb-dbba50e21d0be69cc29afc6f7a562ebbf2960e55.tar.gz
* bfd/elf-bfd.h: Declare elfcore_write_ppc_vsx.
* bfd/elf.c (elfcore_grok_ppc_vsx): New function. (elfcore_write_ppc_vsx): New function (elfcore_grok_note): Handle VSX notes. (elfcore_write_register_note): Handle VSX notes. * include/elf/common.h: Define NT_PPC_VSX. * binutils/readelf.c (get_note_type): Handle VSX notes.
Diffstat (limited to 'include')
-rw-r--r--include/elf/ChangeLog4
-rw-r--r--include/elf/common.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index 9f6198255d3..71a54cd912a 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,7 @@
+2008-07-21 Luis Machado <luisgpm@br.ibm.com>
+
+ * common.h: Define NT_PPC_VSX.
+
2008-07-10 Richard Sandiford <rdsandiford@googlemail.com>
* mips.h (ELF_ST_IS_MIPS16, ELF_ST_SET_MIPS16): New macros.
diff --git a/include/elf/common.h b/include/elf/common.h
index 91759405034..fa120a9bd00 100644
--- a/include/elf/common.h
+++ b/include/elf/common.h
@@ -443,6 +443,8 @@
/* note name must be "LINUX". */
#define NT_PPC_VMX 0x100 /* PowerPC Altivec/VMX registers */
/* note name must be "LINUX". */
+#define NT_PPC_VSX 0x102 /* PowerPC VSX registers */
+ /* note name must be "LINUX". */
/* Note segments for core files on dir-style procfs systems. */