]> Cypherpunks repositories - gostls13.git/commit
[dev.cc] runtime: convert arch-specific .c and .h files to Go
authorRuss Cox <rsc@golang.org>
Tue, 11 Nov 2014 22:09:09 +0000 (17:09 -0500)
committerRuss Cox <rsc@golang.org>
Tue, 11 Nov 2014 22:09:09 +0000 (17:09 -0500)
commit9204821731bfdcbef0bd4af0c4d40acde23ec7ab
tree1f2160f2e7a2aa30efdbbaade148f45423d9d4f4
parente785e3acf8a4845ada7bed96f1a88355b1e0cde3
[dev.cc] runtime: convert arch-specific .c and .h files to Go

The conversion was done with an automated tool and then
modified only as necessary to make it compile and run.

vlrt.c was only called from C. Pure delete.

[This CL is part of the removal of C code from package runtime.
See golang.org/s/dev.cc for an overview.]

LGTM=r
R=r, austin
CC=dvyukov, golang-codereviews, iant, khr
https://golang.org/cl/174860043
16 files changed:
src/runtime/arch1_386.go [new file with mode: 0644]
src/runtime/arch1_amd64.go [new file with mode: 0644]
src/runtime/arch1_arm.go [new file with mode: 0644]
src/runtime/arch_386.h [deleted file]
src/runtime/arch_amd64.h [deleted file]
src/runtime/arch_arm.h [deleted file]
src/runtime/atomic.go [deleted file]
src/runtime/atomic_386.c [deleted file]
src/runtime/atomic_386.go [new file with mode: 0644]
src/runtime/atomic_amd64x.c [deleted file]
src/runtime/atomic_amd64x.go [new file with mode: 0644]
src/runtime/stubs.go
src/runtime/sys_arm.c [deleted file]
src/runtime/sys_arm.go [new file with mode: 0644]
src/runtime/sys_x86.go [moved from src/runtime/sys_x86.c with 53% similarity]
src/runtime/vlrt.c [deleted file]