From 8a9b96b328f084cc7a824174378643d2402b8dfb Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Thu, 21 May 2020 13:06:21 -0400 Subject: [PATCH 2/2] fix incorrect SIGSTKFLT on all mips archs signal 7 is SIGEMT on Linux mips* ABI according to the man pages and kernel. it's not clear where the wrong name came from but it dates back to original mips commit. --- arch/mips/bits/signal.h | 2 +- arch/mips64/bits/signal.h | 2 +- arch/mipsn32/bits/signal.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/mips/bits/signal.h b/arch/mips/bits/signal.h index e1d97ac7..1b69e762 100644 --- a/arch/mips/bits/signal.h +++ b/arch/mips/bits/signal.h @@ -93,7 +93,7 @@ typedef struct __ucontext { #define SIGTRAP 5 #define SIGABRT 6 #define SIGIOT SIGABRT -#define SIGSTKFLT 7 +#define SIGEMT 7 #define SIGFPE 8 #define SIGKILL 9 #define SIGBUS 10 diff --git a/arch/mips64/bits/signal.h b/arch/mips64/bits/signal.h index c31ad07e..4f91c9fc 100644 --- a/arch/mips64/bits/signal.h +++ b/arch/mips64/bits/signal.h @@ -112,7 +112,7 @@ typedef struct __ucontext { #define SIGTRAP 5 #define SIGABRT 6 #define SIGIOT SIGABRT -#define SIGSTKFLT 7 +#define SIGEMT 7 #define SIGFPE 8 #define SIGKILL 9 #define SIGBUS 10 diff --git a/arch/mipsn32/bits/signal.h b/arch/mipsn32/bits/signal.h index c31ad07e..4f91c9fc 100644 --- a/arch/mipsn32/bits/signal.h +++ b/arch/mipsn32/bits/signal.h @@ -112,7 +112,7 @@ typedef struct __ucontext { #define SIGTRAP 5 #define SIGABRT 6 #define SIGIOT SIGABRT -#define SIGSTKFLT 7 +#define SIGEMT 7 #define SIGFPE 8 #define SIGKILL 9 #define SIGBUS 10 -- 2.21.0