runtime: use persistentalloc instead of SysAlloc in GC
Especially important for Windows because it reserves VM
only in multiple of 64k.

R=golang-dev, alex.brainman
CC=golang-dev
https://codereview.appspot.com/10082048
runtime: use persistentalloc instead of mallocgc in symtab
Reduces heap size.

R=golang-dev, khr
CC=golang-dev
https://codereview.appspot.com/10140043
runtime: use persistentalloc instead of SysAlloc in FixAlloc
Also reduce FixAlloc allocation granulatiry from 128k to 16k,
small programs do not need that much memory for MCache's and MSpan's.

R=golang-dev, khr
CC=golang-dev
https://codereview.appspot.com/10140044
os: return io.EOF from windows ReadAt as documented

Fixes issue 5619.

R=golang-dev, r, peter.armitage, go.peter.90
CC=golang-dev
https://codereview.appspot.com/9952044
cmd/5l: use guaranteed undefined instruction for UNDEF to match [68]l.

R=golang-dev, dave, rsc
CC=golang-dev
https://codereview.appspot.com/10085050
sync: improve race instrumentation of WaitGroup
Do not synchronize Add(1) with Wait().
Imitate read on first Add(1) and write on Wait(),
it allows to catch common misuses of WaitGroup:
- Add() called in the additional goroutine itself
- incorrect reuse of WaitGroup with multiple waiters

R=golang-dev, iant
CC=golang-dev
https://codereview.appspot.com/10093044
runtime/race: tell race detector what memory Read/Write syscalls touch
Fixes issue 5567.

R=golang-dev, dave, iant
CC=golang-dev
https://codereview.appspot.com/10085043
syscall: add {Set,Get}priority for Linux, and consistency tests

R=golang-dev, iant, bradfitz, dave
CC=golang-dev
https://codereview.appspot.com/7430044
cmd/cgo: makes clang happy by not using __gcc_struct__ attribute.

R=golang-dev, iant
CC=golang-dev
https://codereview.appspot.com/10150043
doc/go_spec: more examples for unspecified cases of the evaluation order

R=golang-dev, bradfitz, gri, iant, rsc
CC=golang-dev
https://codereview.appspot.com/7235044
net: introduce netgo build tag to build a pure Go net package.
Fixes issue 4078.

R=golang-dev, bradfitz, rsc, iant
CC=golang-dev
https://codereview.appspot.com/7100050
runtime: catch races between channel close and channel send in select

R=golang-dev, iant
CC=golang-dev
https://codereview.appspot.com/10137043
runtime: fix one-time memory leak on linux
Update issue 5641.

R=golang-dev, bradfitz
CC=golang-dev
https://codereview.appspot.com/10144043
cmd/5l: use BLX for BL (Rx).
Fixes issue 5111.
Update issue 4718
This CL makes BL (Rx) to use BLX Rx instead of:
MOV LR, PC
MOV PC, Rx

R=cshapiro, rsc
CC=dave, gobot, golang-dev
https://codereview.appspot.com/9669045
cmd/cc: fix lexbody for negative chars

The new code matches the code in cc/lex.c and the #define GETC.
This was causing problems scanning runtime·foo if the leading
· byte was returned by the buffer fill.

R=ken2
CC=golang-dev
https://codereview.appspot.com/10167043
cmd/ld: document -s flag.

R=golang-dev, iant
CC=golang-dev
https://codereview.appspot.com/10159043
asn1: Improved encoding/decoding for OID types

The first identifier in an Object Identifer must be between 0 and 2
inclusive. The range of values that the second one can take depends
on the value of the first one.
The two first identifiers are not necessarily encoded in a single octet,
but in a varint.

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

Committer: Adam Langley <agl@golang.org>