]> Cypherpunks repositories - gostls13.git/commit
[dev.cc] cmd/dist: adjust for build process without cmd/cc
authorRuss Cox <rsc@golang.org>
Tue, 11 Nov 2014 06:29:05 +0000 (01:29 -0500)
committerRuss Cox <rsc@golang.org>
Tue, 11 Nov 2014 06:29:05 +0000 (01:29 -0500)
commit0d49f7b5fcbf5d5efad05dd4416574127bdd9dfd
treecf61de43486099206711555021a8f5ab4faa5428
parent0185ba76edce85d2bc5d3da63091774039326dcd
[dev.cc] cmd/dist: adjust for build process without cmd/cc

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

- Remove references to C compiler directories.
- Remove generation of special header files.
- Remove generation of Go source files from C declarations.

- Compile Go sources before rest of package (was after),
  so that Go compiler can write go_asm.h for use in assembly.

- Move TLS information from cmd/dist (was embedding in output)
  to src/runtime/go_tls.h, which it can be maintained directly.

LGTM=r
R=r, dave
CC=austin, golang-codereviews, iant, khr
https://golang.org/cl/172960043
src/cmd/dist/build.c
src/cmd/dist/buildruntime.c
src/runtime/defs.c [deleted file]
src/runtime/go_tls.h [new file with mode: 0644]