aboutsummaryrefslogtreecommitdiff
path: root/include/elf
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
commit89eeb0bc236bdd010f7d3796d4d1e1459a41d196 (patch)
treeefe3041ffe78223bc48b44175bfb3e4695e7b24c /include/elf
parenta366c65aeb84ae95691378b12690dea99ef94513 (diff)
downloadgdb-89eeb0bc236bdd010f7d3796d4d1e1459a41d196.zip
gdb-89eeb0bc236bdd010f7d3796d4d1e1459a41d196.tar.gz
gdb-89eeb0bc236bdd010f7d3796d4d1e1459a41d196.tar.bz2
* 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/elf')
-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 9f61982..71a54cd 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 9175940..fa120a9 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. */