commit | 1f325af4dd6c07f899da0a7c0512a7d470cebf9f | [log] [tgz] |
---|---|---|
author | Cherry Zhang <cherryyz@google.com> | Thu May 14 12:16:10 2020 -0400 |
committer | Cherry Zhang <cherryyz@google.com> | Thu May 14 16:53:34 2020 +0000 |
tree | 6ed797f2eb545d750be28d5b7603b44fa9826c04 | |
parent | 796786cd0cc1ed71da65fe9f1760b390b189c5cd [diff] |
cmd/link: fix SCONST symbol handling on darwin Don't include SCONST symbols in the symbol table when NotInSymbolTable is set. This is what the old code (genasmsym) does. In fact, SCONST symbol is only emitted by the field tracking code, and is always NotInSymbolTable. So we should just not include them at all, or not generate SCONST symbols at all. But at this late stage I'll just restore the old behavior. Change-Id: If6843003e16701d45b8c67b2297098a7babdec52 Reviewed-on: https://go-review.googlesource.com/c/go/+/233997 Run-TryBot: Cherry Zhang <cherryyz@google.com> Reviewed-by: Jeremy Faller <jeremy@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
Gopher image by Renee French, licensed under Creative Commons 3.0 Attributions license.
Our canonical Git repository is located at https://go.googlesource.com/go. There is a mirror of the repository at https://github.com/golang/go.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
Official binary distributions are available at https://golang.org/dl/.
After downloading a binary release, visit https://golang.org/doc/install or load doc/install.html in your web browser for installation instructions.
If a binary distribution is not available for your combination of operating system and architecture, visit https://golang.org/doc/install/source or load doc/install-source.html in your web browser for source installation instructions.
Go is the work of thousands of contributors. We appreciate your help!
To contribute, please read the contribution guidelines: https://golang.org/doc/contribute.html
Note that the Go project uses the issue tracker for bug reports and proposals only. See https://golang.org/wiki/Questions for a list of places to ask questions about the Go language.