go/build: reject empty strings in Import

Fixes issue 3889.

R=rsc, adg
CC=golang-dev
http://codereview.appspot.com/6499102

Committer: Russ Cox <rsc@golang.org>
cmd/pack: rename __.SYMDEF to __.GOSYMDEF

This fixes a problem with ELF tools thinking they know the
format of the symbol table, as we do not use any of the
standard formats for that table.

This change will probably annoy the Plan 9 users, but I
believe there are other incompatibilities already that mean
they have to use a Go-specific nm.

Fixes issue 3473.

R=golang-dev, iant
CC=golang-dev
http://codereview.appspot.com/6500117
crypto/rsa: reject PublicKey.E if it won't fit in a 32-bit int

Right now we only have 32-bit ints so that's a no-op.
Took the opportunity to check for some other invalid values too.
Suggestions for additions or modifications welcome.

R=agl
CC=golang-dev
http://codereview.appspot.com/6493112
html/template: fix URL doc

This is the easy part of issue 3528.
(What to do about "noescape" is the hard part, left open.)

Update issue 3528.

R=mikesamuel, r, dsymonds
CC=golang-dev
http://codereview.appspot.com/6493113
crypto/tls: allow certificates and key to be in either order.

X509KeyPair wasn't really supposed to allow the certificate and
key to be in the same file, but it did work if you put the key
first. Since some HTTPS servers support loading keys and certs
like this, this change makes it work in either order.

Fixes issue 3986.

R=golang-dev, dave, rsc
CC=golang-dev
http://codereview.appspot.com/6499103
cmd/gc: Specify which package import caused an redeclaration error.

Fixes issue 4012.

R=dave, remyoudompheng, rsc
CC=golang-dev
http://codereview.appspot.com/6490082
build: print go banner before restoring windows PATH

R=golang-dev, r
CC=golang-dev
http://codereview.appspot.com/6492117
ld: add .gcdata and .gcbss sections

R=rsc
CC=golang-dev
http://codereview.appspot.com/6281048

Committer: Russ Cox <rsc@golang.org>
effective_go: use html/template instead of text/template
Should have done this a long time ago.
Fixes issue 3811.

R=golang-dev, adg, rsc
CC=golang-dev
http://codereview.appspot.com/6488120
cmd/yacc: allow utf-8 token values
Also clean up the code and allow \U.
Fixes issue 3007.

R=golang-dev, rsc, 0xjnml
CC=golang-dev
http://codereview.appspot.com/6492105
A+C: add Xing Xing (individual CLA)

R=golang-dev, nigeltao
CC=golang-dev
http://codereview.appspot.com/6493121
misc/dashboard/builder: use c:\ as default buildroot on windows

We have some tests (misc/cgo/test) that are disabled only because
they will fail to run on go builder - see issue 3358 for details.
This change will allow us to enable these tests.

R=golang-dev, rsc
CC=golang-dev
http://codereview.appspot.com/6493118
exp/locale/collate: changed API to allow access to different locales through New(),
instead of variables. Several reasons:
- Encourage users of the API to minimize the number of creations and reuse Collate objects.
- Don't rule out the possibility of using initialization code for collators. For some locales
  it will be possible to have very compact representations that can be quickly expanded
  into a proper table on demand.
Other changes:
- Change name of root* vars to main*, as the tables are shared between locales.
- Added Locales() method to get a list of supported locales.

R=r
CC=golang-dev
http://codereview.appspot.com/6498107