>From 45493abeb3918e3722ef8d75bf231ef155a2b755 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Sat, 9 Jun 2018 23:22:51 +0000 Subject: [PATCH 15/16] add si_codes from linux v4.17 target specific si_codes were made generic in linux commits a402ab8cc7b0578c445f348c9010e62ab390bee8 (ia64) and 75abf64287cab73546382a4fa7fa2f4e3516efeb (parisc) --- include/signal.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/include/signal.h b/include/signal.h index a4f85cca..69395468 100644 --- a/include/signal.h +++ b/include/signal.h @@ -61,6 +61,13 @@ typedef struct sigaltstack stack_t; #define FPE_FLTRES 6 #define FPE_FLTINV 7 #define FPE_FLTSUB 8 +#define __FPE_DECOVF 9 +#define __FPE_DECDIV 10 +#define __FPE_DECERR 11 +#define __FPE_INVASC 12 +#define __FPE_INVDEC 13 +#define FPE_FLTUNK 14 +#define FPE_CONDTRAP 15 #define ILL_ILLOPC 1 #define ILL_ILLOPN 2 @@ -70,11 +77,17 @@ typedef struct sigaltstack stack_t; #define ILL_PRVREG 6 #define ILL_COPROC 7 #define ILL_BADSTK 8 +#define ILL_BADIADDR 9 +#define __ILL_BREAK 10 +#define __ILL_BNDMOD 11 #define SEGV_MAPERR 1 #define SEGV_ACCERR 2 #define SEGV_BNDERR 3 #define SEGV_PKUERR 4 +#define SEGV_ACCADI 5 +#define SEGV_ADIDERR 6 +#define SEGV_ADIPERR 7 #define BUS_ADRALN 1 #define BUS_ADRERR 2 -- 2.16.3