[PATCH] add NT_PPC_VMX

Roland McGrath roland@redhat.com
Thu Oct 18 09:14:00 GMT 2007


This is a new note type assignment used by Linux.  GDB support is forthcoming.  

I think it's preferable to have this in common.h rather than in ppc.h, but
I wouldn't argue against a contrary opinion.

Ok to commit?


Thanks,
Roland


include/elf/
2007-10-18  Roland McGrath  <roland@redhat.com>

	* common.h (NT_PPC_VMX): New macro.

Index: include/elf/common.h
===================================================================
RCS file: /cvs/src/src/include/elf/common.h,v
retrieving revision 1.89
diff -B -p -u -r1.89 common.h
--- include/elf/common.h	25 Aug 2007 13:20:40 -0000	1.89
+++ include/elf/common.h	18 Oct 2007 08:56:04 -0000
@@ -390,6 +390,8 @@
 #define NT_AUXV		6		/* Contains copy of Elfxx_auxv_t */
 #define NT_PRXFPREG	0x46e62b7f	/* Contains a user_xfpregs_struct; */
 					/*   note name must be "LINUX".  */
+#define NT_PPC_VMX	0x100		/* PowerPC Altivec/VMX registers */
+					/*   note name must be "LINUX".  */
 
 /* Note segments for core files on dir-style procfs systems.  */
 



More information about the Binutils mailing list