runtime/cgo: fix crosscall2 on arm

This time for sure.

R=golang-dev
CC=golang-dev
https://codereview.appspot.com/7449045
cmd/ld: fix windows build

Fixes issue 4948.

R=golang-dev, alex.brainman
CC=golang-dev
https://codereview.appspot.com/7445045
runtime: fix new scheduler on freebsd, windows

R=devon.odell
CC=golang-dev
https://codereview.appspot.com/7443046
runtime: more build fixing

Move the mstartfn into its own field.
Simpler, more likely to be correct.

R=golang-dev, devon.odell
CC=golang-dev
https://codereview.appspot.com/7414046
runtime: start all threads with runtime.mstart

Putting the M initialization in multiple places will not scale.
Various code assumes mstart is the start already. Make it so.

R=golang-dev, devon.odell
CC=golang-dev
https://codereview.appspot.com/7420048
syscall: disable TestPassFD on openbsd

Update issue 4956.

R=golang-dev
CC=golang-dev
https://codereview.appspot.com/7417048
build: disable cgo on windows

Update issue 4955.

R=golang-dev
CC=golang-dev
https://codereview.appspot.com/7435049
runtime: fix build on openbsd, plan9

R=golang-dev
CC=golang-dev
https://codereview.appspot.com/7438052
net/http/cgi: disable TestCopyError to try to fix darwin/386 on builder

Update issue 4958.

R=golang-dev
CC=golang-dev
https://codereview.appspot.com/7434047
build: disable cgo test on openbsd

Update issue 4878.

R=golang-dev
CC=golang-dev
https://codereview.appspot.com/7450048
exp/ssa: fix bug in bridge method

Bridge methods for embedded interfaces were
passing the interface twice: once as receiver,
once as first param.
Covered by $GOROOT/test/ddd.go.

Also:
- invent names ("arg%d") for parameters if missing.
- refactoring: move common code for bridge methods into
  createParams and emitTailCall.

R=gri
CC=golang-dev
https://codereview.appspot.com/7437047
exp/ssa/interp: uncomment tests now passing thanks to recent typechecker fixes.

Also: add support for pointer conversions, covered by one new test.

R=gri, bradfitz, dave
CC=golang-dev
https://codereview.appspot.com/7435047
exp/ssa/interp: disable interp_test on non-POSIX.

R=gri, rsc
CC=golang-dev
https://codereview.appspot.com/7422051
net: eliminate odd if statement with identical branches

R=golang-dev, iant
CC=golang-dev
https://codereview.appspot.com/7447044

Committer: Ian Lance Taylor <iant@golang.org>
runtime: add atomics to fix arm

R=golang-dev, minux.ma
CC=golang-dev
https://codereview.appspot.com/7429046
build: skip cgo test on arm

Update issue 4961.

R=golang-dev
CC=golang-dev
https://codereview.appspot.com/7451044
cmd/cgo: don't reimplement os/exec in util.go.

R=golang-dev, rsc
CC=golang-dev
https://codereview.appspot.com/7450049

Committer: Russ Cox <rsc@golang.org>
cmd/vet: use go/printer to pretty-print expressions in printf messages
Fixes issue 4945.
Most examples in this issue now better, but #10 is incomplete and I'm not
certain how to reproduce it. It actually looks like a go/types problem, since
the type being reported is coming directly from that package.
Please reopen the issue if you disagree.

R=golang-dev, rsc
CC=golang-dev
https://codereview.appspot.com/7448046
runtime/cgo: fix arm build, re-enable test

Fixes issue 4961.

R=golang-dev, r, minux.ma
CC=golang-dev
https://codereview.appspot.com/7443048
runtime: special-case small byte appends.
Update issue 3679.

BenchmarkAppend1Byte            484          199  -58.88%
BenchmarkAppend4Bytes           829          286  -65.50%
BenchmarkAppend8Bytes           484          365  -24.59%
BenchmarkAppend16Bytes          484          498   +2.89%
BenchmarkAppend32Bytes          486          484   -0.41%

R=iant, dave, rsc
CC=golang-dev
https://codereview.appspot.com/7443047