about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-08-10 22:10:17 +0000
committerUlrich Drepper <drepper@redhat.com>2000-08-10 22:10:17 +0000
commit8ad801270c4e55908ead6787e47e676995730d6a (patch)
tree1f59c2d971ff53f488a80eadc415fdcfa4387dc1 /sysdeps
parent5c75f32d091eb8a12200e029c5a7baba33b309e3 (diff)
downloadglibc-8ad801270c4e55908ead6787e47e676995730d6a.tar.gz
glibc-8ad801270c4e55908ead6787e47e676995730d6a.tar.xz
glibc-8ad801270c4e55908ead6787e47e676995730d6a.zip
Add SI_KERNEL define. Add missing ILL_BADIADDR to enum and make ILL_BREAK match the define of the kernel. Add missing __SEG_PSTKOVF definition. Adjust the padding of struct siginfo and struct sigevent to match the fact that sigval_t is 64 bit.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/ia64/bits/siginfo.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/ia64/bits/siginfo.h b/sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
index 74dc2b1f77..455fc57c81 100644
--- a/sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
+++ b/sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
@@ -34,7 +34,7 @@ typedef union sigval
   } sigval_t;
 
 # define __SI_MAX_SIZE     128
-# define __SI_PAD_SIZE     ((__SI_MAX_SIZE / sizeof (int)) - 3)
+# define __SI_PAD_SIZE     ((__SI_MAX_SIZE / sizeof (int)) - 4)
 
 typedef struct siginfo
   {
@@ -130,8 +130,10 @@ enum
 # define SI_TIMER	SI_TIMER
   SI_QUEUE,			/* Sent by sigqueue.  */
 # define SI_QUEUE	SI_QUEUE
-  SI_USER			/* Sent by kill, sigsend, raise.  */
+  SI_USER,			/* Sent by kill, sigsend, raise.  */
 # define SI_USER	SI_USER
+  SI_KERNEL = 0x80		/* Send by kernel.  */
+#define SI_KERNEL	SI_KERNEL
 };
 
 
@@ -152,8 +154,10 @@ enum
 # define ILL_PRVREG	ILL_PRVREG
   ILL_COPROC,			/* Coprocessor error.  */
 # define ILL_COPROC	ILL_COPROC
-  ILL_BADSTK			/* Internal stack error.  */
+  ILL_BADSTK,			/* Internal stack error.  */
 # define ILL_BADSTK	ILL_BADSTK
+  ILL_BADIADDR			/* Unimplemented instruction address. */
+# define ILL_BADIADDR	ILL_BADIADDR
 
 # ifdef __USE_GNU
    , ILL_BREAK
@@ -201,6 +205,10 @@ enum
 # define SEGV_MAPERR	SEGV_MAPERR
   SEGV_ACCERR			/* Invalid permissions for mapped object.  */
 # define SEGV_ACCERR	SEGV_ACCERR
+# ifdef __USE_GNU
+  , SEGV_PSTKOVF		/* Paragraph stack overflow. */
+# define SEGV_PSTKOVF	__SEGV_PSTKOVF
+# endif
 };
 
 /* `si_code' values for SIGBUS signal.  */
@@ -273,7 +281,7 @@ enum
 
 /* Structure to transport application-defined values with signals.  */
 # define __SIGEV_MAX_SIZE	64
-# define __SIGEV_PAD_SIZE	((__SIGEV_MAX_SIZE / sizeof (int)) - 3)
+# define __SIGEV_PAD_SIZE	((__SIGEV_MAX_SIZE / sizeof (int)) - 4)
 
 typedef struct sigevent
   {