|
@@ -186,7 +186,12 @@ typedef struct siginfo {
|
|
|
#define ILL_PRVREG 6 /* privileged register */
|
|
|
#define ILL_COPROC 7 /* coprocessor error */
|
|
|
#define ILL_BADSTK 8 /* internal stack error */
|
|
|
-#define NSIGILL 8
|
|
|
+#ifdef __ia64__
|
|
|
+# define ILL_BADIADDR 9 /* unimplemented instruction address */
|
|
|
+# define __ILL_BREAK 10 /* illegal break */
|
|
|
+# define __ILL_BNDMOD 11 /* bundle-update (modification) in progress */
|
|
|
+#endif
|
|
|
+#define NSIGILL 11
|
|
|
|
|
|
/*
|
|
|
* SIGFPE si_codes
|
|
@@ -199,7 +204,14 @@ typedef struct siginfo {
|
|
|
#define FPE_FLTRES 6 /* floating point inexact result */
|
|
|
#define FPE_FLTINV 7 /* floating point invalid operation */
|
|
|
#define FPE_FLTSUB 8 /* subscript out of range */
|
|
|
-#define NSIGFPE 8
|
|
|
+#ifdef __ia64__
|
|
|
+# define __FPE_DECOVF 9 /* decimal overflow */
|
|
|
+# define __FPE_DECDIV 10 /* decimal division by zero */
|
|
|
+# define __FPE_DECERR 11 /* packed decimal error */
|
|
|
+# define __FPE_INVASC 12 /* invalid ASCII digit */
|
|
|
+# define __FPE_INVDEC 13 /* invalid decimal digit */
|
|
|
+#endif
|
|
|
+#define NSIGFPE 13
|
|
|
|
|
|
/*
|
|
|
* SIGSEGV si_codes
|
|
@@ -207,7 +219,11 @@ typedef struct siginfo {
|
|
|
#define SEGV_MAPERR 1 /* address not mapped to object */
|
|
|
#define SEGV_ACCERR 2 /* invalid permissions for mapped object */
|
|
|
#define SEGV_BNDERR 3 /* failed address bound checks */
|
|
|
-#define SEGV_PKUERR 4 /* failed protection key checks */
|
|
|
+#ifdef __ia64__
|
|
|
+# define __SEGV_PSTKOVF 4 /* paragraph stack overflow */
|
|
|
+#else
|
|
|
+# define SEGV_PKUERR 4 /* failed protection key checks */
|
|
|
+#endif
|
|
|
#define NSIGSEGV 4
|
|
|
|
|
|
/*
|