]> Cypherpunks repositories - gostls13.git/commit
runtime/cgo: remove threadentry functions specialized for android
authorElias Naur <mail@eliasnaur.com>
Thu, 28 Mar 2019 12:25:21 +0000 (13:25 +0100)
committerElias Naur <mail@eliasnaur.com>
Thu, 28 Mar 2019 18:19:39 +0000 (18:19 +0000)
commitb2f19dad8bb2b942badcc1ea6f7147b11fed926e
tree270919bfef3ccf9c6754d446f110e1a7693eea64
parent9f6b21caeaba3362f3385e635054f94d7f0499f3
runtime/cgo: remove threadentry functions specialized for android

The specialized functions set up the g register using the pthread
API instead of setg_gcc, but the inittls functions have already
made sure setg_gcc works.

Updates #29674

Change-Id: Ie67c068d638af8b5823978ee839f6b61b2228996
Reviewed-on: https://go-review.googlesource.com/c/go/+/169797
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/cgo/gcc_android_386.c
src/runtime/cgo/gcc_android_amd64.c
src/runtime/cgo/gcc_linux_386.c
src/runtime/cgo/gcc_linux_amd64.c