aboutsummaryrefslogtreecommitdiff
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
commit191f3bae1751c3a3367a5777e4df941b159de861 (patch)
tree464aefda981689afc29c8ce2874de306c9f6b3b6 /include
parent5a3ed0261050c0b39dafb104541aad6e385d00af (diff)
downloadnewlib-191f3bae1751c3a3367a5777e4df941b159de861.zip
newlib-191f3bae1751c3a3367a5777e4df941b159de861.tar.gz
newlib-191f3bae1751c3a3367a5777e4df941b159de861.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')
-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. */