A+C: Steve McCoy (individual CLA)

Generated by addca.

R=gobot
CC=golang-dev
https://codereview.appspot.com/7608044
cgo: enable external linking mode on FreeBSD amd64.

Tested on FreeBSD 9.1 amd64, per rsc's instructions at
https://groups.google.com/d/topic/golang-dev/HjRTLvRsJXo/discussion .

R=golang-dev, lucio.dere, devon.odell, rsc
CC=golang-dev
https://codereview.appspot.com/7664044

Committer: Russ Cox <rsc@golang.org>
cmd/8l/obj.c: NetBSD passes the test, Hnetbsd added.

myrtle$ go version
go version devel +d533352b414d Sat Mar 09 05:39:15 2013 +0100 netbsd/386
myrtle$ time go test -ldflags -hostobj ../misc/cgo/test
ok      _/var/project/GoLang/misc/cgo/test      10.962s
   68.63s real    49.60s user    19.06s system
myrtle$ uname -a
NetBSD myrtle.plan9.local 6.0_BETA2 NetBSD 6.0_BETA2 (GENERIC) i386

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

Committer: Russ Cox <rsc@golang.org>
net: evaluate the timeout dial opt's deadline at dial time

Previously it was evaluated once, so re-using the timeout option
repeatedly would always generate the same deadine.

Also switch to doing just one pass over the options, making
the private interface actually useful.

R=golang-dev, dsymonds
CC=golang-dev
https://codereview.appspot.com/7608045
runtime: fix misaligned 64-bit atomic
Fixes issue 4869.
Fixes issue 5007.
Update issue 5005.

R=golang-dev, 0xe2.0x9a.0x9b, bradfitz
CC=golang-dev
https://codereview.appspot.com/7534044
cmd/ld: add tmpdir flag to preserve temp files

R=ken2
CC=golang-dev
https://codereview.appspot.com/7497044
cmd/ld: make mach-o sections match internal sections

This brings Mach-O generation more in line with ELF generation.

Having separate sections for the symtab and pclntab mean that we
can find them that way, instead of using the deprecated debug segments.
(And the host linker will keep separate sections for us, but probably
not the debug segments.)

R=ken2
CC=golang-dev
https://codereview.appspot.com/7688043
libmach: fix build

I guess it would be too much to ask for gcc on my machine to give
the same errors as gcc on the builder machines.

R=ken2
CC=golang-dev
https://codereview.appspot.com/7686044
cmd/ld: include full symbol table in Mach-O output

This makes binaries work with OS X nm.

R=ken2
CC=golang-dev
https://codereview.appspot.com/7558044
cmd/ld: wrap long data lines in -a output

Also move symbol names onto lines by themselves: some are very long.
Show relocations.

R=ken2
CC=golang-dev
https://codereview.appspot.com/7689043
cmd/ld: replace dynimpname with extname

Dynimpname was getting too confusing.
Replace flag-like checks with tests of s->type.

R=ken2
CC=golang-dev
https://codereview.appspot.com/7594046
misc/dashboard: add go.blog sub-repo to dashboard

R=golang-dev, dsymonds
CC=golang-dev
https://codereview.appspot.com/7690043
cmd/go: send output of build and install to stderr

"go build" and "go install" were mixing stdout and stderr
from the toolchain, then putting it all on stdout. With this
change, it stays mixed, and is sent to stderr. Because
the toolchain does not create output in a clean compile/install,
sending all output to stderr makese more sense.

Also fix test.bash because of "mktemp: too few X's
in template `testgo'" on Linux.

Fixes issue 4917.

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

Committer: Andrew Gerrand <adg@golang.org>
doc/contribute: add instructions to fix codereview on windows

Tell Windows users how to update Mercurial's library.zip to add some missing dependencies.

Fixes issue 4745.

R=golang-dev, patrick.allen.higgins, minux.ma, adg
CC=golang-dev
https://codereview.appspot.com/7558043

Committer: Andrew Gerrand <adg@golang.org>
cmd/ld: avoid redundant external relocation calculations

R=ken2, ken
CC=golang-dev
https://codereview.appspot.com/7483045
cmd/ld: darwin support for host linking

R=ken2
CC=golang-dev
https://codereview.appspot.com/7626045
build: enable host linking test for all BSDs

Let's just see what breaks.

R=golang-dev, bradfitz, adg
CC=golang-dev
https://codereview.appspot.com/7693043
cmd/5l: fix build (define stub machoreloc1)

R=ken2
CC=golang-dev
https://codereview.appspot.com/7694043
cmd/ld, runtime/cgo: allow a symbol to be both cgo_export and cgo_import.
Fixes issue 4878.

R=golang-dev, rsc
CC=golang-dev
https://codereview.appspot.com/7420052
math/big: fix comment

The variable is named b not bit.

R=golang-dev, agl
CC=golang-dev
https://codereview.appspot.com/7699043