From: Rich Felker Date: Thu, 21 May 2020 17:06:21 +0000 (-0400) Subject: fix incorrect SIGSTKFLT on all mips archs X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=cabc36969bce739e86ecac250d286b0bda6aa88e;p=oweals%2Fmusl.git 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. --- 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