reflect: correct alignment of call arguments on amd64p32.

Changes adapted from original CL 15680044.

LGTM=iant
R=rsc, iant, dave
CC=golang-codereviews
https://codereview.appspot.com/76150044
cmd/6g, cmd/8g: skip CONVNOP nodes in bgen.

Revision 3ae4607a43ff introduced CONVNOP layers
to fix type checking issues arising from comparisons.
The added complexity made 8g run out of registers
when compiling an equality function in go.net/ipv6.

A similar issue occurred in test/sizeof.go on
amd64p32 with 6g.

Fixes issue 7405.

LGTM=khr
R=rsc, dave, iant, khr
CC=golang-codereviews
https://codereview.appspot.com/78100044
doc/effective_go.html: fix typo
Prose referred to 'b', code used 'buf'.
Fixes issue 7601.

LGTM=dominik.honnef
R=golang-codereviews, dominik.honnef
CC=golang-codereviews
https://codereview.appspot.com/78470043
doc/go_faq.html: update description of stack management
They aren't segmented any more, at least with gc.
Also improve the comparison of goroutines and threads.
Fixes issue 7373.

LGTM=iant
R=iant
CC=golang-codereviews
https://codereview.appspot.com/77950044
encoding/asn1: use GeneralizedTime for times outside the range of UTCTime.

Fixes issue #6976.

LGTM=r
R=golang-codereviews, r
CC=golang-codereviews
https://codereview.appspot.com/72080044
runtime: skip stack growth test in short mode

LGTM=dvyukov
R=dvyukov
CC=golang-codereviews
https://codereview.appspot.com/78410043
cmd/ld: fix warnings on Plan 9

warning: src/cmd/ld/macho.c:595 sign-extended character constant
warning: src/cmd/ld/macho.c:595 sign-extended character constant
warning: src/cmd/ld/symtab.c:63 sign-extended character constant
warning: src/cmd/ld/symtab.c:63 sign-extended character constant

LGTM=iant
R=golang-codereviews, iant
CC=golang-codereviews
https://codereview.appspot.com/76580046
text/scanner: handle non-io.EOF errors

Currently Scan ignores an error returned from source if the number
of bytes source has read is 0.

Fixes issue 7594.

LGTM=gri
R=golang-codereviews, bradfitz, gri
CC=golang-codereviews
https://codereview.appspot.com/78120043

Committer: Robert Griesemer <gri@golang.org>
regexp: remove unused variables

"min" and "max" in "case '{'" clause are fresh variables.
The variables defined in the outer scope never get value
other than 0.

LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://codereview.appspot.com/78750044

Committer: Brad Fitzpatrick <bradfitz@golang.org>
bufio: fix typo in test

LGTM=dave
R=golang-codereviews, dave
CC=golang-codereviews
https://codereview.appspot.com/79120043

Committer: Brad Fitzpatrick <bradfitz@golang.org>
unicode/utf16: remove unnecessary type conversions

LGTM=iant
R=golang-codereviews, iant
CC=golang-codereviews
https://codereview.appspot.com/79080044

Committer: Ian Lance Taylor <iant@golang.org>
unicode/utf8: minor code simplification

It's a little bit waste to check if r is not a surrogate
code point because RuneError is not a surrogate code point.

LGTM=iant
R=golang-codereviews, iant
CC=golang-codereviews
https://codereview.appspot.com/79230043

Committer: Ian Lance Taylor <iant@golang.org>
misc/nacl: add Native Client support scripts and documentation

LGTM=josharian, dan.kortschak
R=golang-codereviews, josharian, dan.kortschak
CC=golang-codereviews
https://codereview.appspot.com/75080043
strings: minor cleanup

bi is a slice and not an array, so bi[:] does not make much sense.

LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://codereview.appspot.com/79280043

Committer: Brad Fitzpatrick <bradfitz@golang.org>
cmd/gc: round floats with a large negative exponent towards zero

Fixes issue 6902

LGTM=iant
R=iant, rsc
CC=golang-codereviews
https://codereview.appspot.com/78730049

Committer: Ian Lance Taylor <iant@golang.org>
bufio: fix bug that ReadFrom stops before EOF or error

ReadFrom should not return until it receives a non-nil error
or too many contiguous (0, nil)s from a given reader.
Currently it immediately returns if it receives one (0, nil).
Fixes issue 7611.

LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://codereview.appspot.com/76400048

Committer: Brad Fitzpatrick <bradfitz@golang.org>
cmd/gc: fix spurious 'const initializer is not a constant' error

Fixes issue 6403

LGTM=rsc
R=iant, rsc
CC=golang-codereviews
https://codereview.appspot.com/72840044
doc: allow buffered channel as semaphore without initialization

This rule not existing has been the source of many discussions
on golang-dev and on issues. We have stated publicly that it is
true, but we have never written it down. Write it down.

Fixes issue 6242.

LGTM=r, dan.kortschak, iant, dvyukov
R=golang-codereviews, r, dominik.honnef, dvyukov, dan.kortschak, iant, 0xjnml
CC=golang-codereviews
https://codereview.appspot.com/75130045
regexp: document that it is linear in the input size.
Fixes issue 7488.

LGTM=rsc
R=rsc
CC=golang-codereviews
https://codereview.appspot.com/78050043
regexp/syntax: document the upper limit of n in x{n}
Fixes issue 7252.

LGTM=rsc
R=rsc
CC=golang-codereviews
https://codereview.appspot.com/77990044