Descriptioncmd/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.
Patch Set 1 #Patch Set 2 : diff -r 84d418aa033b5e0e4f52b84101b4a5b3cff0aa25 https://go.googlecode.com/hg/ #Patch Set 3 : diff -r 84d418aa033b5e0e4f52b84101b4a5b3cff0aa25 https://go.googlecode.com/hg/ #Patch Set 4 : diff -r f4cfb7885a65f2c73d3e66c7d46d74a3439a0a4f https://go.googlecode.com/hg/ #
MessagesTotal messages: 8
|