This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Sync ia64 bits/sigcontext.h with current kernels


Hi!

2.5.7 kernel introduced sc_ar25/sc_ar26, 2.5.73 changed
ar25's comment and actually started to use it from what I can see.

2003-07-31  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct
	sigcontext): Sync with 2.5.7 and 2.5.73 kernel changes.

--- libc/sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h.jj	2002-02-14 03:27:06.000000000 -0500
+++ libc/sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h	2003-07-31 11:10:35.000000000 -0400
@@ -50,7 +50,9 @@ struct sigcontext
   struct ia64_fpreg sc_fr[128];	/* floating-point registers */
   unsigned long int sc_rbs_base;/* NULL or new base of sighandler's rbs */
   unsigned long int sc_loadrs;	/* see description above */
-  unsigned long int sc_rsvd[14];/* reserved for future use */
+  unsigned long int sc_ar25;	/* cmp8xchg16 uses this */
+  unsigned long int sc_ar26;	/* rsvd for scratch use */
+  unsigned long int sc_rsvd[12];/* reserved for future use */
 
   /* sc_mask is actually an sigset_t but we don't want to
    * include the kernel headers here. */

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]