mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/compile: remove duplicate build ID from export data
This is already written out by printObjHeader in obj.go. Change-Id: I23e7a3826a6233307bd591021718c4cf143b381c Reviewed-on: https://go-review.googlesource.com/107618 Run-TryBot: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
4074a67c49
commit
aefd99de0b
1 changed files with 0 additions and 4 deletions
|
|
@ -72,10 +72,6 @@ func (x methodbyname) Swap(i, j int) { x[i], x[j] = x[j], x[i] }
|
|||
func (x methodbyname) Less(i, j int) bool { return x[i].Sym.Name < x[j].Sym.Name }
|
||||
|
||||
func dumpexport(bout *bio.Writer) {
|
||||
if buildid != "" {
|
||||
exportf(bout, "build id %q\n", buildid)
|
||||
}
|
||||
|
||||
size := 0 // size of export section without enclosing markers
|
||||
// The linker also looks for the $$ marker - use char after $$ to distinguish format.
|
||||
exportf(bout, "\n$$B\n") // indicate binary export format
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue