]> Cypherpunks repositories - gostls13.git/commit
runtime: use fixed TLS offsets on darwin/amd64 and darwin/386
authorKeith Randall <khr@golang.org>
Mon, 9 Apr 2018 23:00:54 +0000 (16:00 -0700)
committerKeith Randall <khr@golang.org>
Tue, 10 Apr 2018 14:28:39 +0000 (14:28 +0000)
commit76e92d1c9e2943de7093af14d58663fa2993e608
tree28c6d7c76ec0c75bf3e1c9e2c4f5d2346f7f11fc
parentd01322826e38fb42d4cf14188164fc46d90e25ae
runtime: use fixed TLS offsets on darwin/amd64 and darwin/386

Fixes #23617

Note that this CL does not affect darwin/arm and darwin/arm64,
still TBD what, if anything, needs to be done for those.

Change-Id: Ie1ee02a9f4d4d1fb9cd5dc432d900f926cc157db
Reviewed-on: https://go-review.googlesource.com/105975
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/link/internal/ld/sym.go
src/runtime/cgo/gcc_darwin_386.c
src/runtime/cgo/gcc_darwin_amd64.c
src/runtime/sys_darwin_386.s
src/runtime/sys_darwin_amd64.s