]> Cypherpunks repositories - gostls13.git/commit
runtime: add load_g call in arm callback.
authorKeith Randall <khr@golang.org>
Thu, 25 Sep 2014 15:37:04 +0000 (08:37 -0700)
committerKeith Randall <khr@golang.org>
Thu, 25 Sep 2014 15:37:04 +0000 (08:37 -0700)
commit1aa65fe8d4c0ebdd754480d281f378fcd1c42cea
treecab6f8401df399a5768c5fd079161f57c0204c9a
parent1b6807bb069c528447270c3d6c66c5c7597f388f
runtime: add load_g call in arm callback.

Need to restore the g register.  Somehow this line vaporized from
CL 144130043.  Also cgo_topofstack -> _cgo_topofstack, that vaporized also.

TBR=rsc
CC=golang-codereviews
https://golang.org/cl/150940044
src/cmd/cgo/out.go
src/runtime/asm_386.s
src/runtime/asm_amd64.s
src/runtime/asm_arm.s
src/runtime/cgo/callbacks.c