]> Cypherpunks repositories - gostls13.git/commit
runtime/cgo: restore the g pointer correctly in crosscall_s390x
authorMichael Munday <munday@ca.ibm.com>
Wed, 8 Jun 2016 16:11:44 +0000 (16:11 +0000)
committerMichael Munday <munday@ca.ibm.com>
Wed, 8 Jun 2016 18:09:47 +0000 (18:09 +0000)
commit0324a3f828d3a2f48751df2bbd54ad20499e598a
tree67c9a9c2f6d78cc0aa04a714df4e4b97d9da84b7
parent09eedc32e13484d9171519e9f07f3210ba5a7afd
runtime/cgo: restore the g pointer correctly in crosscall_s390x

R13 needs to be set to g because C code may have clobbered R13.

Fixes #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>
src/runtime/cgo/gcc_s390x.S