aboutsummaryrefslogtreecommitdiff
path: root/binutils
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 /binutils
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 'binutils')
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/readelf.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 0fa3eff..374ab5f 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+2008-07-21 Luis Machado <luisgpm@br.ibm.com>
+
+ * readelf.c (get_note_type): Handle VSX notes.
+
2008-07-15 H.J. Lu <hongjiu.lu@intel.com>
* objdump.c (load_debug_section): Initialize section_is_compressed
diff --git a/binutils/readelf.c b/binutils/readelf.c
index 7fe2948..92b00f1 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -9929,6 +9929,8 @@ get_note_type (unsigned e_type)
return _("NT_PRXFPREG (user_xfpregs structure)");
case NT_PPC_VMX:
return _("NT_PPC_VMX (ppc Altivec registers)");
+ case NT_PPC_VSX:
+ return _("NT_PPC_VSX (ppc VSX registers)");
case NT_PSTATUS:
return _("NT_PSTATUS (pstatus structure)");
case NT_FPREGS: