summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAlex Brainman <alex.brainman@gmail.com>2014-10-11 22:01:04 +1100
committerAlex Brainman <alex.brainman@gmail.com>2014-10-11 22:01:04 +1100
commit1e2b6799cb92a21b4acfcd0c2fea4c8dab53d45f (patch)
tree07c0b09b3525750f69cd66704aa2d32289195b94 /doc
parentcc1fecd64d6395d1692b0fc5936353d2e61b9c1c (diff)
downloadgo-1e2b6799cb92a21b4acfcd0c2fea4c8dab53d45f.tar.gz
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 issue 8811. Fixes issue 8856. LGTM=jfrederich, iant, stephen.gutekanst R=golang-codereviews, jfrederich, stephen.gutekanst, iant CC=alex.brainman, golang-codereviews https://codereview.appspot.com/152410043
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions