]> Cypherpunks repositories - gostls13.git/commit
cmd/dist: add liblink build information
authorRuss Cox <rsc@golang.org>
Mon, 9 Dec 2013 03:48:11 +0000 (22:48 -0500)
committerRuss Cox <rsc@golang.org>
Mon, 9 Dec 2013 03:48:11 +0000 (22:48 -0500)
commit8642cbd660cd8f62f77a37227c640b234fcf9c30
tree96a0576bb9e76b7f8ab7007292b13d42a3f1b389
parent6965a752a799792997fc0cbf971b1893bcaf3d5b
cmd/dist: add liblink build information

In addition to adding the library, change the way the anames array is created.
Previously, it was written to src/cmd/6l/enam.c (and similarly for 5l and 8l)
and each of the other tools (6g, 6c, 6a) compiled the 6l/enam.c file in addition
to their own sources.

Now that there is a library shared by all these programs, move the anames
array into that library. To eliminate name conflicts, name the array after
the architecture letter: anames5, anames6, anames8.

First step to linker cleanup (golang.org/s/go13linker).

This CL does not build by itself. It depends on the CLs introducing
liblink and changing commands to use it.

R=iant
CC=golang-dev
https://golang.org/cl/35740044
.hgignore
src/cmd/dist/a.h
src/cmd/dist/build.c
src/cmd/dist/buildgc.c