]> Cypherpunks repositories - gostls13.git/commit
cmd/cc, runtime: eliminate use of the unnamed substructure C extension
authorPeter Collingbourne <pcc@google.com>
Thu, 7 Aug 2014 13:00:02 +0000 (09:00 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 7 Aug 2014 13:00:02 +0000 (09:00 -0400)
commite03bce158fba5f13dd7f2f0a86a40eb14958300b
tree4cd6d9b5a645be10fe84807e8014ac54d4445d88
parent6cee4d3e8f52d4ab5ba2f97ca58f11d5e4c29fd4
cmd/cc, runtime: eliminate use of the unnamed substructure C extension

Eliminating use of this extension makes it easier to port the Go runtime
to other compilers. This CL also disables the extension in cc to prevent
accidental use.

LGTM=rsc, khr
R=rsc, aram, khr, dvyukov
CC=axwalk, golang-codereviews
https://golang.org/cl/106790044
24 files changed:
src/cmd/cc/dcl.c
src/pkg/runtime/callback_windows.c
src/pkg/runtime/chan.goc
src/pkg/runtime/chan.h
src/pkg/runtime/defs_plan9_386.h
src/pkg/runtime/heapdump.c
src/pkg/runtime/iface.goc
src/pkg/runtime/malloc.c
src/pkg/runtime/malloc.h
src/pkg/runtime/mcache.c
src/pkg/runtime/mcentral.c
src/pkg/runtime/mgc0.c
src/pkg/runtime/mheap.c
src/pkg/runtime/mprof.goc
src/pkg/runtime/mprof.h
src/pkg/runtime/netpoll.goc
src/pkg/runtime/proc.c
src/pkg/runtime/runtime.h
src/pkg/runtime/sema.goc
src/pkg/runtime/sigqueue.goc
src/pkg/runtime/time.goc
src/pkg/runtime/type.h
src/pkg/runtime/vlrt_386.c
src/pkg/runtime/vlrt_arm.c