diff --git a/src/cmd/link/internal/ld/go.go b/src/cmd/link/internal/ld/go.go index 8c72dd74cc..2930a6b24f 100644 --- a/src/cmd/link/internal/ld/go.go +++ b/src/cmd/link/internal/ld/go.go @@ -360,6 +360,7 @@ func fieldtrack(ctxt *Link) { return } addstrdata(ctxt, *flagFieldTrack, buf.String()) + s.Type = SDATA } func (ctxt *Link) addexport() {