You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
R13 needs to be set to g because C code may have clobbered R13.
Fixesgolang#16006.
Change-Id: I66311fe28440e85e589a1695fa1c42416583b4c6
Reviewed-on: https://go-review.googlesource.com/23910
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
crosscall_s390x()
does not restore the g pointer and so ifR13
is overwritten by C code a segmentation fault may occur inruntime.mstart()
.This has been seen with Go tip built on:
Linux 58bf5d25d426 4.5.0-1-s390x #1 SMP Debian 4.5.1-1 (2016-04-14) s390x GNU/Linux
Bootstrapped with:
gccgo (GCC) 6.1.0
CL to follow.
The text was updated successfully, but these errors were encountered: