1
0
mirror of https://github.com/golang/go synced 2024-11-26 21:11:57 -07:00
go/misc
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
..
android build: adjustments for move from src/pkg to src 2014-09-08 00:06:45 -04:00
arm
cgo cmd/ld: do not assume that only pe section names start with '.' 2014-10-11 22:01:04 +11:00
chrome/gophertool
dashboard/codereview misc/dashboard/app, misc/dashboard/builder: delete from main repo; part of move to go.tools 2013-08-01 13:27:27 +10:00
git
linkcheck misc/linkcheck: better redirect handling, use meaningful exit code 2013-10-25 17:31:02 +03:00
makerelease build: adjustments for move from src/pkg to src 2014-09-08 00:06:45 -04:00
nacl misc/nacl/README: fix typo 2014-10-01 09:16:55 +09:00
swig cmd/go: add any .c/.cc files to the SWIG shared library 2013-10-09 10:35:46 -07:00
benchcmp benchcmp: leave a forwarding script 2014-03-31 16:39:41 -04:00
editors misc: delete editor and shell support 2014-07-01 09:21:25 -07:00
pprof misc/pprof: support web profiles on windows/MinGW 2014-07-23 10:35:04 -07:00