]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: change SIGEMT on linux/mips64 to throw
authorIan Lance Taylor <iant@golang.org>
Tue, 15 Dec 2015 23:46:48 +0000 (15:46 -0800)
committerIan Lance Taylor <iant@golang.org>
Wed, 16 Dec 2015 02:08:02 +0000 (02:08 +0000)
This matches SIGEMT on other systems that use it (SIGEMT is not used
for most linux systems).

Change-Id: If394c06c9ed1cb3ea2564385a8edfbed8b5566d1
Reviewed-on: https://go-review.googlesource.com/17874
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Minux Ma <minux@golang.org>
src/runtime/sigtab_linux_mips64x.go

index 3853176a03963846887119083be249800e7350b4..2c0003f72b85b9f2956675ea2a247648a9b78a1d 100644 (file)
@@ -20,7 +20,7 @@ var sigtable = [...]sigTabT{
        /* 4 */ {_SigThrow + _SigUnblock, "SIGILL: illegal instruction"},
        /* 5 */ {_SigThrow + _SigUnblock, "SIGTRAP: trace trap"},
        /* 6 */ {_SigNotify + _SigThrow, "SIGABRT: abort"},
-       /* 7 */ {_SigNotify, "SIGEMT"},
+       /* 7 */ {_SigThrow, "SIGEMT"},
        /* 8 */ {_SigPanic + _SigUnblock, "SIGFPE: floating-point exception"},
        /* 9 */ {0, "SIGKILL: kill"},
        /* 10 */ {_SigPanic + _SigUnblock, "SIGBUS: bus error"},