Commit 201fd165 authored by Josh Bleecher Snyder's avatar Josh Bleecher Snyder

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: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 00263a89
...@@ -360,6 +360,7 @@ func fieldtrack(ctxt *Link) { ...@@ -360,6 +360,7 @@ func fieldtrack(ctxt *Link) {
return return
} }
addstrdata(ctxt, *flagFieldTrack, buf.String()) addstrdata(ctxt, *flagFieldTrack, buf.String())
s.Type = SDATA
} }
func (ctxt *Link) addexport() { func (ctxt *Link) addexport() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment