1
0
mirror of https://github.com/golang/go synced 2024-09-29 20:24:34 -06:00
go/misc/cgo
Joel Sing 708db79011 cgo: enable cgo on openbsd
Enable cgo on OpenBSD.

The OpenBSD ld.so(1) does not currently support PT_TLS sections. Work
around this by fixing up the TCB that has been provided by librthread
and reallocating a TCB with additional space for TLS. Also provide a
wrapper for pthread_create, allowing zeroed TLS to be allocated for
threads created externally to Go.

Joint work with Shenghou Ma (minux).

Requires change 6846064.

Fixes #3205.

R=golang-dev, minux.ma, iant, rsc, iant
CC=golang-dev
https://golang.org/cl/6853059
2012-12-21 01:43:19 +11:00
..
gmp misc/cgo/gmp: update for Go 1 2012-03-21 00:51:48 +08:00
life misc/cgo: prepare for 64-bit ints 2012-09-24 14:58:45 -04:00
stdio misc/cgo/stdio: make it work on Windows and also test it 2012-09-20 00:27:23 +08:00
test cgo: enable cgo on openbsd 2012-12-21 01:43:19 +11:00
testso cmd/go: add env command, use to fix misc/cgo/testso 2012-03-08 14:28:44 -05:00