go/src
Alex Brainman d704bb0dc9 cmd/ld: do not assume that only pe section names start with '.'
Our current pe object reader assumes that every symbol starting with
'.' is section. It appeared to be true, until now gcc 4.9.1 generates
some symbols with '.' at the front. Change that logic to check other
symbol fields in addition to checking for '.'. I am not an expert
here, but it seems reasonable to me.

Added test, but it is only good, if tested with gcc 4.9.1. Otherwise
the test PASSes regardless.

Fixes #8811.
Fixes #8856.

LGTM=jfrederich, iant, stephen.gutekanst
R=golang-codereviews, jfrederich, stephen.gutekanst, iant
CC=alex.brainman, golang-codereviews
https://golang.org/cl/152410043
2014-10-11 22:01:04 +11:00
..
archive build: move package sources from src/pkg to src 2014-09-08 00:08:51 -04:00
bufio bufio: fix handling of empty tokens at end of line/file 2014-09-25 12:45:21 -07:00
builtin build: move package sources from src/pkg to src 2014-09-08 00:08:51 -04:00
bytes cmd/go: fix bytes and net the right way 2014-09-24 19:18:01 -04:00
cmd cmd/ld: do not assume that only pe section names start with '.' 2014-10-11 22:01:04 +11:00
compress compress/*: note that NewReader may introduce buffering 2014-09-30 12:31:18 -04:00
container build: move package sources from src/pkg to src 2014-09-08 00:08:51 -04:00
crypto crypto/x509: add OpenELEC system root location. 2014-10-04 08:09:39 +10:00
database/sql database/sql: Close per-tx prepared statements when the associated tx ends 2014-09-22 09:19:27 -04:00
debug debug/elf: add comments explaining applyRelocations for amd64/arm64 2014-10-09 14:38:45 -07:00
encoding encoding/asn1: fix explicitly tagged Times. 2014-10-09 17:37:40 -07:00
errors build: move package sources from src/pkg to src 2014-09-08 00:08:51 -04:00
expvar build: move package sources from src/pkg to src 2014-09-08 00:08:51 -04:00
flag flag: allow CommandLine's Usage function to be set 2014-09-26 12:33:05 -07:00
fmt fmt: print &map like &slice and &struct 2014-10-03 20:27:08 -07:00
go go/build: update docs for GOOS.go change 2014-10-06 15:08:31 -07:00
hash build: move package sources from src/pkg to src 2014-09-08 00:08:51 -04:00
html build: move package sources from src/pkg to src 2014-09-08 00:08:51 -04:00
image image/gif: don't let the per-frame transparent index modify the global 2014-09-22 14:29:45 +10:00
index/suffixarray build: move package sources from src/pkg to src 2014-09-08 00:08:51 -04:00
internal/syscall build: move package sources from src/pkg to src 2014-09-08 00:08:51 -04:00
io io: clarify Reader returning 0, nil 2014-09-16 10:01:28 -04:00
lib9 lib9, cmd/ld: fixes for cross-linking on a Windows host 2014-09-18 17:27:26 -07:00
libbio
liblink liblink: generate MRC replacement in liblink, not tls_arm 2014-09-30 10:03:10 +10:00
log log/syslog: try /var/run/log, for FreeBSD 2014-09-30 12:30:16 -04:00
math math/big: fix doc comments 2014-10-07 10:56:58 -07:00
mime build: move package sources from src/pkg to src 2014-09-08 00:08:51 -04:00
net net: link skipped TestReadFromUDP to the issue 2014-10-10 13:12:32 +11:00
os os, syscall: test Chtimes on directories, fix on Windows 2014-10-06 19:22:48 -04:00
path path/filepath: document that Glob ignores i/o errors 2014-09-18 21:50:22 -04:00
reflect reflect: add direct call tests to TestMakeFuncVariadic 2014-10-08 15:58:56 -07:00
regexp regexp/syntax: regenerate doc.go from re2 syntax 2014-10-06 15:32:11 -04:00
runtime runtime: add comment to mgc0.h 2014-10-09 17:05:38 +04:00
sort build: move package sources from src/pkg to src 2014-09-08 00:08:51 -04:00
strconv strconv: fix documentation for CanBackquote. 2014-09-09 11:45:36 -07:00
strings strings: use fast path for IndexRune 2014-10-06 15:10:51 -07:00
sync runtime: more NOPTR 2014-09-24 19:04:06 -04:00
syscall net: disable SIO_UDP_CONNRESET behavior on windows. 2014-10-10 09:21:32 +11:00
testing testing: clearer comment 2014-10-01 13:19:40 -07:00
text text/template: type-check chained node as argument 2014-09-22 17:48:13 -07:00
time time: A Timer must be properly created before use (documentation). 2014-10-01 16:44:52 -07:00
unicode build: move package sources from src/pkg to src 2014-09-08 00:08:51 -04:00
unsafe build: move package sources from src/pkg to src 2014-09-08 00:08:51 -04:00
Make.dist
all.bash
all.bat
all.rc
androidtest.bash androidtest.bash: adjustment for move from src/pkg to src 2014-09-08 10:07:26 -04:00
clean.bash
clean.bat
clean.rc
make.bash
make.bat
make.rc
nacltest.bash build: more adjustments for move from src/pkg to src 2014-09-08 00:22:40 -04:00
race.bash
race.bat
run.bash build: fix elf builds 2014-09-24 14:45:11 -07:00
run.bat run.bat: comment text properly 2014-10-02 16:15:36 +10:00
run.rc
sudo.bash