]> Cypherpunks repositories - gostls13.git/commit
runtime: update openbsd runtime to use new tfork syscall
authorJoel Sing <jsing@google.com>
Wed, 21 Nov 2012 14:25:53 +0000 (01:25 +1100)
committerJoel Sing <jsing@google.com>
Wed, 21 Nov 2012 14:25:53 +0000 (01:25 +1100)
commitcd37fecffbc937432d729510c2dda7e61e39adfb
tree59adcfc6d3393d6221e89aa98e65fd109c674ed4
parent1bd4a7dbcbf833a5e37cf8d0a6e7fc55c557543b
runtime: update openbsd runtime to use new tfork syscall

Update OpenBSD runtime to use the new version of the sys___tfork
syscall and switch TLS initialisation from sys_arch to sys___set_tcb
(note that both of these syscalls are available in OpenBSD 5.2).

R=golang-dev, minux.ma
CC=golang-dev
https://golang.org/cl/6843058
src/pkg/runtime/defs_openbsd_386.h
src/pkg/runtime/defs_openbsd_amd64.h
src/pkg/runtime/sys_openbsd_386.s
src/pkg/runtime/sys_openbsd_amd64.s
src/pkg/runtime/thread_openbsd.c