* 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.
This commit is contained in:
Luis Machado 2008-07-21 05:33:37 +00:00
parent 5a3ed02610
commit 191f3bae17
2 changed files with 6 additions and 0 deletions

View File

@ -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.

View File

@ -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. */