]> Cypherpunks.ru repositories - gostls13.git/commit
runtime: correct mips64 asmcgocall signal stack behaviour
authorJoel Sing <joel@sing.id.au>
Fri, 28 May 2021 18:06:56 +0000 (04:06 +1000)
committerJoel Sing <joel@sing.id.au>
Mon, 16 Aug 2021 07:44:47 +0000 (07:44 +0000)
commit160d7972607d5c630c7cfd1b4b54f7c27c3387b1
tree8b2ab6f5641fdf0abf77b65f28486f83f79cc159
parent6a760d6c36675335eb1756cc2b3f711ec33aa2e2
runtime: correct mips64 asmcgocall signal stack behaviour

Do not switch to the g0 stack if we're already running on the signal
stack, otherwise all kind of fun ensues.

Updates #36435

Change-Id: I57f35d75b9ee4f92b997713b4cdd38ce881705e6
Reviewed-on: https://go-review.googlesource.com/c/go/+/334880
Trust: Joel Sing <joel@sing.id.au>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
src/runtime/asm_mips64x.s