summaryrefslogtreecommitdiff
path: root/src/cmd/gopack/ar.c
AgeCommit message (Collapse)AuthorFilesLines
2011-02-18Imported Upstream version 2011.02.15upstream/2011.02.15Ondřej Surý1-5/+31
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ý1-4/+29
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-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-03document gopack.Rob Pike1-39/+39
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 Pike1-0/+1752
remove the references to 6ar R=rsc DELTA=3547 (1770 added, 1775 deleted, 2 changed) OCL=35669 CL=35671