1
0
mirror of https://github.com/golang/go synced 2024-11-21 23:24:41 -07:00
go/src
Russ Cox 758f2bc556 eliminate the package global name space assumption in object files
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
https://golang.org/cl/186263
2010-01-22 17:06:20 -08:00
..
cmd eliminate the package global name space assumption in object files 2010-01-22 17:06:20 -08:00
lib9 build: move GOOS, GOARCH, GOROOT lookup into central library. 2010-01-18 21:46:46 -08:00
libbio Ports of lib9, libbio and libmach to Windows. 2009-11-30 11:53:11 -08:00
libcgo go: makes it build for the case $GOROOT has whitespaces 2009-11-23 17:32:51 -08:00
libmach libmach: Add disassembly for newly implemented opcodes 2010-01-06 19:26:04 -08:00
pkg eliminate the package global name space assumption in object files 2010-01-22 17:06:20 -08:00
all-arm.bash Build changes to support work on the BSDs. 2009-11-14 15:29:09 -08:00
all-nacl.bash make Native Client support build again, 2009-12-04 10:11:32 -08:00
all.bash Add a Makefile in place of all.bash. Update docs to reflect 2009-12-11 12:48:55 -08:00
clean.bash clean.bash: stop if $GOROOT is not set 2009-12-13 12:27:19 -08:00
make-arm.bash sync make-arm.bash with make.bash 2010-01-06 18:19:56 -08:00
Make.386 makefile fixes; convert runtime to use new makefiles 2009-08-13 14:41:10 -07:00
Make.amd64 makefile fixes; convert runtime to use new makefiles 2009-08-13 14:41:10 -07:00
Make.arm makefile fixes; convert runtime to use new makefiles 2009-08-13 14:41:10 -07:00
make.bash Remove GOBIN in PATH dependency; don't assume cwd is $GOROOT/src 2009-12-11 15:14:09 -08:00
Make.cmd Remove GOBIN in PATH dependency; don't assume cwd is $GOROOT/src 2009-12-11 15:14:09 -08:00
Make.conf Fix missing explicit GOBIN in src/pkg/Makefile. Clean up creation of 2010-01-06 07:47:56 -08:00
Make.pkg Add 'bench' target to makefiles. 2010-01-12 15:43:20 -08:00
Makefile Remove GOBIN in PATH dependency; don't assume cwd is $GOROOT/src 2009-12-11 15:14:09 -08:00
quietgcc.bash Build changes to support work on the BSDs. 2009-11-14 15:29:09 -08:00
run.bash Remove GOBIN in PATH dependency; don't assume cwd is $GOROOT/src 2009-12-11 15:14:09 -08:00
sudo.bash go: makes it build for the case $GOROOT has whitespaces 2009-11-23 17:32:51 -08:00