1
0
mirror of https://github.com/golang/go synced 2024-11-20 10:54:49 -07:00
go/src
Keith Randall 2fc29a83ae cmd/gc: resolve static addresses of the form &x.f at link time
When we do y = &x for global variables x and y, y gets initialized
at link time.  Do the same for y = &x.f if x is a struct and y=&x[5]
if x is an array.

fixes #9217
fixes #9355

Change-Id: Iea3c0ce2ce1b309e2b760e345608fd95460b5713
Reviewed-on: https://go-review.googlesource.com/1691
Reviewed-by: Minux Ma <minux@golang.org>
2014-12-18 21:53:03 +00:00
..
archive
bufio
builtin
bytes
cmd cmd/gc: resolve static addresses of the form &x.f at link time 2014-12-18 21:53:03 +00:00
compress
container
crypto crypto/tls: change default minimum version to TLS 1.0. 2014-12-18 19:49:41 +00:00
database/sql
debug all: power64 is now ppc64 2014-12-05 19:13:20 -05:00
encoding encoding/json: mention that the "string" tag applies to booleans 2014-12-14 23:24:54 +00:00
errors
expvar
flag
fmt
go all: power64 is now ppc64 2014-12-05 19:13:20 -05:00
hash all: power64 is now ppc64 2014-12-05 19:13:20 -05:00
html
image image/jpeg: handle Read returning n > 0, err != nil in d.fill 2014-11-22 13:55:33 -05:00
index/suffixarray
internal/syscall
io
lib9
libbio
liblink liblink: generate correct code for MOVD $-n(Rm), x on ppc64 2014-12-18 15:31:47 +00:00
log
math math: Added parity check to ProbablyPrime 2014-12-12 00:25:16 +00:00
mime
net net/http/httputil: don't use DisableKeepAlives in DumpRequestOut, fix build 2014-12-16 06:58:43 +00:00
os os: handle the sticky bit separately for *BSD and Solaris 2014-12-17 16:07:28 +00:00
path path/filepath: remove named result parameter for VolumeName 2014-12-18 16:05:07 +00:00
reflect reflect: remove a double negative, use the rtype.pointers method for clarity 2014-12-16 21:17:07 +00:00
regexp
runtime runtime/cgo: guard against redefinition of PTHREAD_KEYS_MAX 2014-12-18 21:23:25 +00:00
sort
strconv
strings
sync all: merge dev.garbage (d1238958d4ae) into default branch 2014-12-05 20:34:45 -05:00
syscall all: power64 is now ppc64 2014-12-05 19:13:20 -05:00
testing
text
time
unicode
unsafe
all.bash
all.bat
all.rc
androidtest.bash
clean.bash
clean.bat
clean.rc
make.bash build: change all.bash output to be more markdown-friendly 2014-12-13 00:03:23 +00:00
make.bat build: change all.bash output to be more markdown-friendly 2014-12-13 00:03:23 +00:00
Make.dist
make.rc
nacltest.bash
race.bash
race.bat
run.bash build: change all.bash output to be more markdown-friendly 2014-12-13 00:03:23 +00:00
run.bat build: change all.bash output to be more markdown-friendly 2014-12-13 00:03:23 +00:00
run.rc
sudo.bash