]> Cypherpunks repositories - gostls13.git/commit
runtime: more C to Go conversion adjustments
authorRuss Cox <rsc@golang.org>
Fri, 5 Sep 2014 01:12:31 +0000 (21:12 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 5 Sep 2014 01:12:31 +0000 (21:12 -0400)
commitdb58ab96fa4767ca6144678d63203be5381709d6
tree734bf2f8992b8992c96a8a56c946acfc33db05f2
parent1a14b5bad8926941023ca310fa3b53c70717b1e2
runtime: more C to Go conversion adjustments

Mostly NOSPLIT additions.
Had to rewrite atomic_arm.c in Go because it calls lock,
and lock is too complex.

With this CL, I find no Go -> C calls that can split the stack
on any system except Solaris and Windows.

Solaris and Windows need more work and will be done separately.

LGTM=iant, dave
R=golang-codereviews, bradfitz, iant, dave
CC=dvyukov, golang-codereviews, khr, r
https://golang.org/cl/137160043
16 files changed:
src/cmd/api/goapi.go
src/pkg/runtime/asm_arm.s
src/pkg/runtime/atomic.go [new file with mode: 0644]
src/pkg/runtime/atomic_arm.c [deleted file]
src/pkg/runtime/atomic_arm.go [new file with mode: 0644]
src/pkg/runtime/malloc.c
src/pkg/runtime/os_dragonfly.c
src/pkg/runtime/os_freebsd.c
src/pkg/runtime/os_netbsd.c
src/pkg/runtime/os_openbsd.c
src/pkg/runtime/os_plan9.c
src/pkg/runtime/proc.c
src/pkg/runtime/proc.go
src/pkg/runtime/softfloat_arm.c
src/pkg/runtime/stubs.go
src/pkg/runtime/vlrt.c