runtime: revise the document of Version()
Fixes issue 7701. (again, differently)

LGTM=rsc
R=iant, rsc
CC=golang-codereviews
https://codereview.appspot.com/94560043
all: fix "the the" typos.

LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://codereview.appspot.com/93470043
doc/install.html: fix duplicate id= tag

LGTM=minux.ma
R=adg, minux.ma
CC=golang-codereviews
https://codereview.appspot.com/95540045
doc/go_spec.html: fix broken anchor tag

LGTM=gri
R=gri
CC=golang-codereviews
https://codereview.appspot.com/99420045
spec: clarify section on package initialization

- split description of package initialization and
  program execution
- better grouping of concerns in section on package
  initialization
- more explicit definition of what constitues a
  dependency
- removed language about constant dependencies -
  they are computed at compile-time and not
  initialized at run-time
- clarified that independent variables are initialized
  in declaration order (rather than reference order)

Note that the last clarification is what distinguishes
gc and gccgo at the moment: gc uses reference order
(i.e., order in which variables are referenced in
initialization expressions), while gccgo uses declaration
order for independent variables.

Not a language change. But adopting this CL will
clarify what constitutes a dependency.

Fixes issue 6703.

LGTM=adonovan, r, iant, rsc
R=r, rsc, iant, ken, adonovan
CC=golang-codereviews
https://codereview.appspot.com/99020043
reflect: don't panic on delete from nil map.

Fixes issue 8051

LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://codereview.appspot.com/95560046
spec: specify order of init() calls

The spec did not specify the order in which
init() functions are called. Specify that
they are called in source order since we have
now also specified the initialization order
of independent variables.

While technically a language change, no
existing code could have relied on this,
so this should not break anything.

Per suggestion from rsc.

LGTM=r, iant
R=rsc, iant, r, ken
CC=golang-codereviews
https://codereview.appspot.com/98420046
tag go1.3beta1 and go1.3beta2

LGTM=rsc
R=golang-codereviews, rsc
CC=golang-codereviews
https://codereview.appspot.com/100660043
cmd/ld: really import runtime/cgo for external link

Fixes issue 8032.

LGTM=rsc
R=rsc
CC=golang-codereviews
https://codereview.appspot.com/95580043
cmd/ld: correctly compute note size on NetBSD.

Patch from http://gnats.NetBSD.org/48811.

LGTM=iant
R=golang-codereviews, minux.ma, iant
CC=golang-codereviews, tk
https://codereview.appspot.com/94670047

Committer: Ian Lance Taylor <iant@golang.org>
database/sql/driver: correct method name in comment

Fixes issue 8061.

LGTM=crawshaw
R=golang-codereviews, crawshaw
CC=golang-codereviews
https://codereview.appspot.com/93520046
test/float_lit2.go: compute test values from first principles

These constants pass go/types constant conversions as well.

LGTM=r
R=r
CC=golang-codereviews
https://codereview.appspot.com/91590047
test/float_lit2.go: fix constants for 386 platforms (fix build)

LGTM=rsc
R=golang-codereviews, rsc
CC=golang-codereviews
https://codereview.appspot.com/95480045
cmd/go: check for SWIG version that is too old to use

Fixes issue 7983.

LGTM=crawshaw
R=golang-codereviews, crawshaw
CC=golang-codereviews, rsc
https://codereview.appspot.com/96540044
cmd/go: fix coverage for 'package foo_test' tests

Fixes issue 8062.

LGTM=r
R=r
CC=golang-codereviews
https://codereview.appspot.com/91610046
fmt: fix floating-point padding once and for all
Rewrite formatFloat to be much simpler and clearer and
avoid the tricky interaction with padding.
The issue refers to complex but the problem is just floating-point.
The new tests added were incorrectly formatted before this fix.
Fixes issue 8064.

LGTM=jscrockett01, rsc
R=rsc, jscrockett01
CC=golang-codereviews
https://codereview.appspot.com/99420048
cmd/gc: fix floating point rounding again

Passes the expanded test in CL 100660044,
which gives me some confidence that it
might be right.

(The old code failed by not considering all the
low bits.)

LGTM=r
R=golang-codereviews, r, bradfitz
CC=golang-codereviews, iant, khr
https://codereview.appspot.com/99410051
test/float_lit2.go: rewrite to test values near boundaries

Add larger comment explaining testing methodology,
and derive tests arithmetically.

(These tests are checking rounding again; the derived
tests they replace were checking exact values.)

LGTM=r, gri
R=gri, r
CC=golang-codereviews
https://codereview.appspot.com/100660044
test: fix two typos in float_lit2.go

Noted by gri in CL 100660044 review but I missed them.

TBR=gri
CC=golang-codereviews
https://codereview.appspot.com/97570049
cmd/objdump: fix dissasembly of Plan 9 object files

Ignore symbols that aren't text, data, or bss since they cause
problems when dissassembling instructions with small immediate
values.

Before:
        build.go:142    0x10ee  83ec50      SUBL $text/template/parse.autotmp_1293(SB), SP

After:
        build.go:142    0x10ee  83ec50      SUBL $0x50, SP

Fixes issue 7947.

LGTM=rsc
R=rsc, 0intro
CC=golang-codereviews
https://codereview.appspot.com/93520045

Committer: David du Colombier <0intro@gmail.com>