1
0
mirror of https://github.com/golang/go synced 2024-11-18 09:14:43 -07:00

cmd/link: set Fieldtrack symbol type to SDATA

Fixes #20316

Change-Id: I2553ad9a82dfcb30f020c2a3e37b868111425a20
Reviewed-on: https://go-review.googlesource.com/43151
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Josh Bleecher Snyder 2017-05-10 12:05:20 -07:00
parent 00263a8968
commit 201fd16568

View File

@ -360,6 +360,7 @@ func fieldtrack(ctxt *Link) {
return
}
addstrdata(ctxt, *flagFieldTrack, buf.String())
s.Type = SDATA
}
func (ctxt *Link) addexport() {