]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile: remove duplicate build ID from export data
authorMatthew Dempsky <mdempsky@google.com>
Tue, 17 Apr 2018 21:59:04 +0000 (14:59 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Tue, 17 Apr 2018 23:47:18 +0000 (23:47 +0000)
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>
src/cmd/compile/internal/gc/export.go

index f0fdc5bd257a653ed58bc6bb624b0861469d1102..a72747fa5bb20bdaa88c0b6cab7b7c627b9e42a4 100644 (file)
@@ -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