[patch] ia64 sigcontext

Jes Sorensen jes@trained-monkey.org
Sat Sep 29 15:26:00 GMT 2001


>>>>> "Jes" == Jes Sorensen <jes@trained-monkey.org> writes:

Jes> Hi David added sc_loadrs to the ia64 struct sigcontext, here is
Jes> the corresponding glibc update.

Hi

David pointed out in a mail that didn't make it to the list that he
had added one more entry to the kernel, here is an updated patch.

Cheers
Jes

2001-09-29  Jes Sorensen  <jes@trained-monkey.org>

	* sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
	(struct	sigcontext): Add sc_loadrs and sc_rbs_bas to match
	current kernel.

--- /home/jes/cygnus/libc-2.2/sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h	Mon Jul  9 18:56:29 2001
+++ sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h	Sat Sep 29 19:09:55 2001
@@ -48,7 +48,9 @@
   unsigned long int sc_br[8];	/* branch registers */
   unsigned long int sc_gr[32];	/* general registers (static partition) */
   struct ia64_fpreg sc_fr[128];	/* floating-point registers */
-  unsigned long int sc_rsvd[16];/* reserved for future use */
+  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 */
 
   /* sc_mask is actually an sigset_t but we don't want to
    * include the kernel headers here. */



More information about the Libc-hacker mailing list