]> Cypherpunks repositories - gostls13.git/commit
cmd/dist, pkg/runtime: Plan 9, 64-bit: Get PID from TLS; remove use of `_tos'.
authorAkshat Kumar <seed@mail.nanosouffle.net>
Mon, 24 Sep 2012 16:24:45 +0000 (12:24 -0400)
committerRuss Cox <rsc@golang.org>
Mon, 24 Sep 2012 16:24:45 +0000 (12:24 -0400)
commite42788628aa787cac8d7c61d593f6a17b9c42d08
treeefe97e11ec263a620ab7ecd7e457aec4c5ec1821
parent8696b0844600882ca962d155576a0604efe96922
cmd/dist, pkg/runtime: Plan 9, 64-bit: Get PID from TLS; remove use of `_tos'.

Using offsets from Tos is cumbersome and we've had problems
in the past. Since it's only being used to grab the PID, we'll just
get that from the default TLS instead.

R=rsc, rminnich, npe
CC=golang-dev
https://golang.org/cl/6543049
src/cmd/dist/buildruntime.c
src/pkg/runtime/defs_plan9_amd64.h
src/pkg/runtime/rt0_plan9_amd64.s
src/pkg/runtime/sys_plan9_amd64.s