summaryrefslogtreecommitdiff
path: root/src/cmd/gopack
AgeCommit message (Collapse)AuthorFilesLines
2011-02-14Imported Upstream version 2011-02-01.1upstream/2011-02-01.1Ondřej Surý1-0/+1
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý3-13/+35
2010-06-12gopack: add S flag to force marking a package as safeRuss Cox1-2/+14
R=r CC=golang-dev http://codereview.appspot.com/1597044
2010-06-11gopack: simplify go metadata codeRuss Cox1-314/+36
There's only one Go object file per package now, so there's no need to parse the metadata and merge metadata from multiple files. Just save the original and use it as __.PKGDEF verbatim. R=r CC=golang-dev http://codereview.appspot.com/1647042
2010-01-22eliminate the package global name space assumption in object filesRuss Cox1-29/+31
5g/6g/8g: add import statements to export metadata, mapping package path to package name. recognize "" as the path of the package in export metadata. use "" as the path of the package in object symbol names. 5c/6c/8c, 5a/6a/8a: rewrite leading . to "". so that ·Sin means Sin in this package. 5l/6l/8l: rewrite "" in symbol names as object files are read. gotest: handle new symbol names. gopack: handle new import lines in export metadata. Collectively, these changes eliminate the assumption of a global name space in the object file formats. Higher level pieces such as reflect and the computation of type hashes still depend on the assumption; we're not done yet. R=ken2, r, ken3 CC=golang-dev http://codereview.appspot.com/186263 Committer: Russ Cox <rsc@golang.org>
2009-11-23go: makes it build for the case $GOROOT has whitespacesSergio Luis O. B. Correia1-2/+2
the bash scripts and makefiles for building go didn't take into account the fact $GOROOT / $GOBIN could both be directories containing whitespaces, and was not possible to build it in such a situation. this commit adjusts the various makefiles/scripts to make it aware of that possibility, and now it builds successfully when using a path with whitespaces as well. Fixes issue 115. R=rsc, dsymonds1 http://codereview.appspot.com/157067 Committer: Russ Cox <rsc@golang.org>
2009-11-11gopack: work around gcc bug in hash functionRuss Cox1-3/+10
Fixes issue 48. (this time for sure!) R=r, r1 http://codereview.appspot.com/152088
2009-11-11two gopack nits.Russ Cox1-0/+4
1. allocate an extra byte for use by write. 2. throw away the code trying to translate uid and gid to names. i suspect it of causing seg faults in some situations, and it is not needed by the compilers. Fixes issue 48. (I hope.) R=r http://codereview.appspot.com/152077
2009-11-11gopack: convert long to time_t before taking a pointer.Adam Langley1-1/+3
Fixes issue 40. R=rsc, r1 CC=golang-dev http://codereview.appspot.com/154057
2009-11-09tweak documentation of commandsRuss Cox1-1/+1
so that first sentence is better for cmd page. live at http://r45:3456/cmd/ R=gri, r http://go/go-review/1024034
2009-11-03document gopack.Rob Pike2-39/+60
change string in usage message. R=rsc http://go/go-review/1017023
2009-10-13rename the source directory for gopack from ar to gopack.Rob Pike2-0/+1770
remove the references to 6ar R=rsc DELTA=3547 (1770 added, 1775 deleted, 2 changed) OCL=35669 CL=35671